[toaster] SuSE 9.3 vpopmail problem

2005-09-12 Thread qmail
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



Re: [toaster] SuSE 9.3 vpopmail problem

2005-09-12 Thread qmail
 [EMAIL PROTECTED] wrote:

 /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:
 cannot find -lz

 You're missing the zlib compression library.  On Debian, the packages
 are called zlib1g and zlib1g-dev. Not sure about Suse, though.  Probably
 just zlib or libz.

 Regards,

 Bill


cool..It works now.. Thanks a lot for your quick reply.

Regards,
Qing



Re: [toaster] SuSE 9.3 vpopmail problem

2005-09-12 Thread qmail
 I believe in SuSE it is called zlib.  Make sure you have zlib and
 zlib-devel packages installed.

Yes, it is zlib.  I installed both and it works now.  Thanks a lot.

Regards,
Qing