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

Andre' Breiler Andre.Breiler at informatik.tu-chemnitz.de
Thu Jul 23 13:39:03 PDT 1998


Hallo,

>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

I hope anyone have answered your question already.
If not here is my idea.
Have you installed zlib package ?
If yes so your library path is possible wrong.

Bye Andre'

>>
>>> 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....


-- 
eMail: A.Breiler at gmx.net
Type Bits/KeyID    Date       User ID
pub  2048/7D1A7EE1 1998/05/06 Andre' Breiler 2048 <A.Breiler at gmx.net> CRYPT
     Key fingerprint = 07 2D 63 1E E9 0D FC 91  4A 56 FB 94 C1 D6 69 6C
pub  2048/89D36175 1997/06/20 Andre' Breiler 2048 <A.Breiler at gmx.net> SIG
     Key fingerprint = 8E 9E A2 F8 29 27 CC 94  10 44 0E 40 7A C9 33 10




More information about the kaffe mailing list