autotools fails to find /lib/liblz.a

Ken Brown kbrown@cornell.edu
Fri Oct 30 19:42:31 GMT 2020


On 10/30/2020 3:32 PM, Achim Gratz wrote:
> Brian Inglis writes:
>> Hoping this is a symptom of a well known issue with a well known solution, or I
>> can get the build to work without it:
>>
>>    CCLD     libwget.la
>>
>> *** Warning: linker path does not have real file for library -llz.
> 
> That sounds like a bug in configure for whatever you are trying to build
> (you didn't say).  First off, it shouldn't even look for a static
> library and none of that name exists in Cygwin.  Also, if you need to
> figure out what goes wrong you'd better advise make to output the full
> command lines and not abbreviate (you will probably need to add V=1 or
> something like that to the arguments).

Whatever Brian is building appears to be looking for the lzlib library 
(https://www.nongnu.org/lzip/lzlib.html), which in some distros, such as Debian, 
is provided by a liblz-dev package.  As you said, it's not in Cygwin.

I would have expected the configure script to detect that Cygwin doesn't have it.

Ken


More information about the Cygwin-apps mailing list