Hi

I'm fairly new to Qmail and vpop, installing on a shiny new RH9 server

Qmail is installed, Mysql too, and I am trying to get vpopmail 5.2.1 to
install, using configure with the following options:

--enable-auth-logging=y
--enable-mysql-logging=y
--enable-clear-passwd=y
--enable-logging=y
--enable-mysql=y
--enable-valias=y
--enable-incdir=/usr/local/mysql/include/
--enable-libdir=/usr/local/mysql/lib/

It compiles without error, and (I think) relevant lines from the 'current
settings' are
auth inc = -I/usr/local/mysql/include/
auth lib = -L/usr/local/mysql/lib/  -lmysqlclient -lz

when I run make, I get the following errors:

-----------------
<snip>
gcc -I. -I/usr/local/mysql/include/      -g -O2 -Wall -c file_lock.c
gcc -I. -I/usr/local/mysql/include/      -g -O2 -Wall -c vpalias.c
rm -f libvpopmail.a
ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o
cdb/*.o
ranlib libvpopmail.a
gcc -I. -I/usr/local/mysql/include/      -g -O2 -Wall -c vchkpw.c
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
ibvpopmail.a -L/usr/local/mysql/lib/  -lmysqlclient -lz -lnsl -lcrypt -lm
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
-----------------

I can see the problem with -lz but I have no gcc dev experience

Can you help me - what am I doing wrong ?

Cheers
Alastair


Reply via email to