[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?
From: |
Stan Guillory |
Subject: |
Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ? |
Date: |
Thu, 19 Aug 2004 11:13:32 -0500 |
Actually, on Solaris at least, LD_LIBRARY_PATH *is* used to find shared
libraries to link against. It's been
something we have particularly had to guard against, since some older versions
of thirdparty libraries we
use have been installed in /usr/lib and it has corrupted our builds. In fact,
LD_LIBRARY_PATH seems to
supercede the paths specified with -L flags.
Stan
>>> Andreas Schwab <address@hidden> 8/19/2004 10:03:24 AM >>>
Stephan A Suerken <address@hidden> writes:
> Afaik, LD_LIBRARY_PATHs, if set, should have precedence over standard
> paths.
LD_LIBRARY_PATH has no significance to the linker for finding the
libraries to be linked in.
This has nothing to do with autoconf anyway. If you need to add special
directories for finding libraries pass "LDFLAGS=-L/your/special/dir" to
the configure script.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Autoconf mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/autoconf