Re: make: *** [wmlscript/wmlsc] Error 1

Guillaume Cottenceau <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
James Muhairwe <[email protected]> writes:

> Hello,
>  
> I really knew to the Linux environement and trying to learn the hard way, hopefully not by spoiling.
>  
> I am experiencing the following error after istalling kannel- latest version. I get it after running make. (Please don't refer me to the list coz I have perused them for two days now.)
>  
> JAS001:/sms/gateway-1.2.1 # make
> gcc -D_REENTRANT=1 -I. -Igw -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml2  -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpthread -lresolv -lnsl -lm  -L/usr/lib -lxml2 -lz -lpthread -lm
> /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lz

That indicates that gcc was unable to find a file named "libz.so"
in the specified search path (it typically includes /usr/lib plus
all -L specified parameters of the gcc commandline).

In a typical Linux environment, you need `/usr/lib/libz.so'.

Install the appropriate binary or source packages provided by the
vendor of your distribution (rpm, deb, etc), probably something
called "zlib-devel", or "zlib".

-- 
Guillaume Cottenceau
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.