Compile problem: Linux libc5 gcc "cannot open -lz"

Moritz Moeller-Herrmann mmh at gmx.net
Sat Jul 18 08:30:42 PDT 1998


Sorry, but I didn't get any answers but yours. I guess it must be either really
tricky or really simple. So far nobody has answered!

 Am Sam, 18 Jul 1998 schriebst Du: 
>hi, 
>i red your mail in the archive of the kaffe-mailinglist. I habe the same
>problem (and system) like you (and no idea how to solve it), but i
>havn´t subscribed the mailinglist yet. So i would be glad, if you would
>forward me solutions you get (i hope you get some).
>
>thank you, 
>gismo
>
>
>> Hello friends,
>> while trying to compile the kaffe source I encountered the
>> following error:
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> make[3]: Entering directory
>> `/home/moritz/kaffe-1.0.b1/libraries/clib/zip' ld -shared -o libzip.so.1.00
>> Adler32.o CRC32.o Deflater.o Inflater.o -lm -lc -lz ld: cannot open -lz: No
>> such file or directory make[3]: *** [libzip.so.1.00] Error 1
>> make[3]: Leaving directory `/home/moritz/kaffe-1.0.b1/libraries/clib/zip'
>> make[2]: *** [all] Error 1
>> make[2]: Leaving directory `/home/moritz/kaffe-1.0.b1/libraries/clib'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/moritz/kaffe-1.0.b1/libraries'
>> make: *** [all] Error 1 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> I am using SuSE 5.2 with a few compiled additions. I have libz installed and I
>> ran ldconfig . What's this -lz? Am I missing a library or
>> what?
>> Thanx for any help!
>> BTW, RPMs for libc5 systems would be lovely....
--
BYE, Moritz Moeller-Herrmann
*****************************************************************************
Tired of General Protection Faults?       Think about it...  
Pay $00 for a better replacement of MS Windows95 (Linux + KDE/GNOME), 
of Adobe Photoshop (Gimp)and of MS Office (Star Office 4.0 for Linux)!
Email me if you need help!


More information about the kaffe mailing list