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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Aug 2004, Stephan A Suerken wrote:

The check works fine when I remove the old library from /usr/lib.

Afaik, LD_LIBRARY_PATHs, if set, should have precedence over standard
paths. So, is this a bug in the AC_CHECK_LIB macro, or do I have to
configure something differently?

You should use the LDFLAGS variable with -L options to tell configure where to search for libraries. Autoconf should not be using LD_LIBRARY_PATH at all.


Consult the Autoconf documentation. :-)

Bob
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx
http://www.simplesystems.org/users/bfriesen


_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux