Dear all,

I upgraded my system to SuSE 9.3 and found that there is something wrong
(I did the same thing in SuSE 9.1 but it works fine) when I am trying to
install vpopmail 5.4.10.

Here is my configure:

./configure  \
--enable-roaming-users=n  \
--enable-logging=y  \
--enable-ip-alias-domains=n   \
--enable-passwd=n   \
--enable-qmail-ext=y     \
--enable-clear-passwd=n   \
--enable-incdir=/usr/include/mysql   \
--enable-libdir=/usr/lib/mysql   \
--enable-auth-logging=y   \
--enable-many-domains=n   \
--enable-valias=y  \
--enable-mysql-replication=y   \
--enable-mysql-limits=y    \
--enable-auth-module=mysql

Here is the output:

gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f
'vchkpw.c' || echo './'`vchkpw.c
gcc -I. -I/usr/include/mysql  -I. -I. -I.     -g -O2 -Wall -c `test -f
'hmac_md5.c' || echo './'`hmac_md5.c
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
-L/usr/lib/mysql  -lmysqlclient -lz -lm -lcrypt
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:
cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/var/src/vpopmail-5.4.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/src/vpopmail-5.4.10'
make: *** [all] Error 2

Would anyone please tell me how to fix it? Thanks a lot.

Regards,
Qing

Reply via email to