You should have a /usr/include/zlib.h file in your distribution. If not, get the zlib
library from www.zlib.org and install it.

-Dave

-----Original Message-----
From: Ryan White [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 17, 2001 5:28 PM
To: vpopmail
Subject: Compile error w/ mysql "cannot find -lz"?


After searching through the mailing list with no luck I finally decided to
send a plea for help.

Ok I don't think I quite understand I must have something wrong in my
configure.
./configure --enable-roaming-users=y --enable-mysql=y --enable-clear-passwd=
y --enable-valias=y --enable-libdir=/usr/lib

Yet make always complains about:
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
ibvpopmail.a -L/usr/lib  -lmysqlclient -lz -lnsl -lcrypt -lm
/usr/bin/ld: cannot find -lz

Although it probably breaks stuff the rest of the application compiles fine
if I take the -lz out.

What is -lz and how can I make this work?

I'm running Debian.
Linux 2.2.17 #1 Sat Sep 9 12:42:22 EST 2000 i686

With Mysql  3.23.36



Reply via email to