logo       

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

sysutils.autoconf.general

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

Stephan A Suerken <absurd@xxxxxxxxxx> writes:

> GNU assembler version 2.14.90.0.7 (i386-linux) using BFD version 2.14.90.0.7
> 20031029 Debian GNU/Linux
> /usr/lib/gcc-lib/i486-linux/3.3.4/collect2 (...) -L/usr/lib -L/usr/lib
> -Lmy_local_path/.libs (...)

FWIW, this output origins from reconstructing the macro's test compile
manually. The AC_CHECK_LIB macro called g++ like

g++ -v -o conftest -g -O0 test.c -lx (...) -L/usr/lib (..) -L/usr/lib (...)

> paths. So, is this a bug in the AC_CHECK_LIB macro, or do I have to

So the question more precisely would be: Why does the check add
-L/usr/lib (twice) to the call? Running the check without that works
just fine.

Still thanks ;),

Stephan

Please CC to me, I am not on the list.
--
Stephan A Suerken <suerken|absurd@xxxxxxxxxx>

Schlund + Partner AG, Karlsruhe


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

News | FAQ | advertise