Hi,
> I have a compilation error on my Ubuntu 64 bit machine.
>
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -I../mortsrc -I../mortsrc/guilib
> -I../plugins -I../freelib -I. -o plugins.o plugins.cpp
> g++ -static -o sleap strbuff.o strmain.o plugins.o
> ../plugins/libplugins.a ../mortsrc/libmort.a
> ../freelib/readline/libreadline.a -lm -lz -ldl -lpthread
> /usr/bin/ld: cannot find -lz
>
> I guess, my ld might be too old, but I don't seem to find anything newer.
> Anyone has a suggestion?
>
...You're missing libz.so, which (in the fedora/redhat world) comes with
the zlib-devel package. If you fire up aptitude(? - my ubuntu experience
is limited) and look for zlib-dev or something similar.
best,
Andreas
Received on Fri Apr 18 2008 - 21:14:07 PDT