From: Jonathan S. <jjs...@vc...> - 2007-12-30 22:24:48
|
Thomas Weber wrote: > Am Sonntag, den 30.12.2007, 13:11 -0700 schrieb Jonathan Stickel: >> I get the following error with the newly implemented rpath flag: >> >> /usr/bin/ld: unknown flag: >> -rpath=/sw/lob/octave/3.0.0/site/oct/i386-apple-darwin8.11.1/octaviz >> collect2: ld returned 1 exit status >> make[2]: *** [Common/vtk_init.oct] Error 1 >> make[1]: *** [Common/CMakeFiles/OctavizCommonFiles.dir/all] Error 2 >> make: *** [all] Error 2 > > Can you look into ld's manpage and search for "rpath" on Mac? Sorry, I > don't have any access to such a system, but there must be a way to get > this working on Mac. A search of the ld manpage shows no mention of "rpath". I am not very knowledgeable about dynamic libraries, but it seems to me that Mac puts some path information directly in the library files. > >> It doesn't seem to matter what I enter for the rpath when running >> ccmake. I am on on Mac OS X 10.4. > > You can't set this arbitrarily! It must be the path where octaviz.so > (shared library under Linux) is finally found. > OK, sure. That is what I thought. Jonathan |