On Thu, December 10, 2015 3:49 pm, Alexander Hansen wrote: > >> On Dec 10, 2015, at 13:42, Jacques Bloch >> <jacques.bl...@physik.uni-regensburg.de> wrote: >> >> Somehow i was able to use DYLD_LIBRARY_PATH with armadillo which i put >> in ~/opt/lib on my system. >> >> Jacques >> >> Sent from my iPhone > > > That may be implementation-dependent. If armadillo just wants _a_ > DYLD_LIBRARY_PATH and doesnât rely on it being an environment variable, > that may still work. > > Fionna:~ hansen$ DYLD_LIBRARY_PATH="/sw/lib" > Fionna:~ hansen$ export DYLD_LIBRARY_PATH > Fionna:~ hansen$ printenv DYLD_LIBRARY_PATH > Fionna:~ hansen$ echo $DYLD_LIBRARY_PATH > /sw/lib
>From what I understand, DYLD_LIBRARY_PATH still works, but it just doesn't get passed to subshells. So DYLD_LIBRARY_PATH=/foo/lib /bin/sh BAR.sh will use /foo/lib successfully, but DYLD_LIBRARY_PATH=/foo/lib ./BAR.sh (where BAR.sh starts with #!/bin/sh) will fail. Hanspeter -- More agile than a turtle, stronger than a mouse, nobler than a lettuce ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users