logo       

Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?: msg#00043

sysutils.autoconf.general

Subject: Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?

Stephan A Suerken <absurd@xxxxxxxxxx> 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, schwab@xxxxxxx
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."


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise