bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_LIB Not finding Libraries that are not Compiled with PIC


From: Peter Rosin
Subject: Re: AC_CHECK_LIB Not finding Libraries that are not Compiled with PIC
Date: Fri, 23 May 2014 08:33:44 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 2014-05-22 15:39, James L. Barker wrote:
> OS: RHEL 6.5
> Autoconf: 2.63
> Automake: 1.11.1
> 
> I have a library compiled as a mylib.a without Position Independent Code.
> 
> When I put the following line in my configure.ac file, the library is not 
> found.
> LDFLAGS="-I/usr/local/packages/lib"
> AC_CHECK_LIB(mylib, function)

-L/usr/... vs. -I/usr/... perhaps?

Cheers,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]