Hi Dave, * Dave Benson wrote on Tue, Nov 08, 2005 at 04:31:21PM CET: > > 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.
I am working on a related fix at the moment. Give me a little bit time, it should be fixed in 1.5.22. I can notify you when I have something to test. Cheers, Ralf _______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool