← Back to team overview

yade-dev team mailing list archive

Re: ld: new problems on Mac OS X

 


Le 29 août 09 à 14:21, Václav Šmilauer a écrit :

Does runtimePREFIX could replace the origin option?
No. Besides that, I think runtimePREFIX will not be needed soon as we
use $ORIGIN now.

Let's not confuse linking stage (at compilation) and running (when
libraries are being found also). If $ORIGIN only affects running. For
compilation, you have to: add the necessary libs to LIBS and also add
their dirs to LIBPATH.

For running, I remember vaguely that -z origin wasn't necessary, even if the libs had -rpath=\$ORIGIN/.. etc in their paths. You can verify after the build that running ldd on a plugin will find all libs automatically,
without setting LD_LIBRARY_PATH. If it doesn't, set LD_LIBRARY_PATH to
all lib directories (colon-separated) and run yade.

ok, understood.

Is the system you use for download somewhere, e.g. virtualbox images?


It seems to be possible with vmware:
http://wiki.osx86project.org/wiki/index.php/Vmware_how_to

Thank you to be interested in this issue.
VR





References