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

Moritz Moeller-Herrmann mmh at
Fri Jul 17 05:38:12 PDT 1998

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
Adler32.o CRC32.o Deflater.o Inflater.o -lm -lc  -lz ld: cannot open -lz: No
such file or directory make[3]: *** [] 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
Thanx for any help!
BTW, RPMs for libc5 systems would be lovely....

More information about the kaffe mailing list