|
From: Oliver O. <fr...@us...> - 2007-03-07 10:03:07
|
Update of /cvsroot/simspark/simspark/spark In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv10911 Modified Files: Tag: projectx README Log Message: *** empty log message *** Index: README =================================================================== RCS file: /cvsroot/simspark/simspark/spark/README,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.1.2.1 diff -C2 -d -r1.1.2.1 -r1.1.2.1.2.1 *** README 6 Mar 2007 06:13:15 -0000 1.1.2.1 --- README 7 Mar 2007 10:03:00 -0000 1.1.2.1.2.1 *************** *** 1 **** --- 1,22 ---- Simspark README + + Mac OS X: + + - on some systems, the ODE library has a bad install name. There are 2 ways to fix it. + For both ways, you have to first locate libode.dylib on your system. You can do this using + "locate libode.dylib" in a shell. For example, in my system, libode.dylib is located at + "/opt/local/lib/libode.dylib", but the install name was just "libode.dylib". + You can check the install name of you ODE library using + otool -D /opt/local/lib/libode.dylib + (use the path where it is located on your system) + + First possible solution: + Add the pathname of your libode.dylib to the shell variable DYLD_FALLBACK_LIBRARY_PATH. + I.e. open ~/.profile with your preferred text editor, and add the line + export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib + somewhere. + + Second possible solution: + Change the install name of your libode.dylib : + install_name_tool -id /opt/local/lib/libode.dylib /opt/local/lib/libode.dylib + (of course, use the location of libode on your system). |