Hi, I've been porting some software to freebsd 5.4, and i've been encountering an issue in the precedence of LD_LIBRARY_PATH versus -rpath.
Apparently, linux and older version of freebsd treat -rpath to be of higher precedence. The newest freebsds treat LD_LIBRARY_PATH as having higher precedence. (apparently solaris also has LD_LIBRARY_PATH higher precendence) The end-result is that on freebsd, my test programs etc are using the *installed* version of the library, rather than the one in '.'. unfortunately, i cannot drop the LD_LIBRARY_PATH use b/c that's needed for much other software on the system to work (not everyone uses -rpath) I believe that the libtool convenience wrapper should use the method of highest precedence, or use all the methods all the time to ensure that those wrappers set things up to use the local software. In any event, attached is a tarball illustrating the problem. on linux, no test fails. on freebsd, test 3 fails. - dave
bug--freebsd-libtool.tar.gz
Description: GNU Zip compressed data
_______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool