Make sure the LIBRARY_PATH includes the directory where zlib resides or include it in /etc/ld.cache.conf

Thiago Campos wrote:
zlib is installed!

[root@email vpopmail-5.2.1]# rpm -q zlib

The libmysqlclient is in the /usr/lib/mysql

----- Original Message -----
From: "Dzuy Nguyen" <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 11:32 AM
Subject: Re: [vchkpw] -lz instalation error

Install zlib!

Thiago Campos wrote:


I'm getting the following error on my RH 7.3

This is my ./configure output

vpopmail directory = /home/vpopmail
uid = 89
gid = 89
ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
roaming users = OFF --enable-roaming-users=n default
user quota = OFF --enable-defaultquota=NOQUOTA default
auth module = mysql --enable-mysql=y
mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
system passwords = OFF --enable-passwd=n default
file locking = ON --enable-file-locking=y default
file sync = OFF --enable-file-sync=n default disable
auth logging = ON --enable-auth-logging=y default
mysql logging = OFF --enable-mysql-logging=n default
clear passwd = ON --enable-clear-passwd=y (default)
valias processing = ON --enable-valias=y
pop syslog = show only failure attempts
--enable-logging=e default
default domain =
auth inc = -I/usr/include/mysql
auth lib = -L/usr/lib/mysql -lmysqlclient -lz

[root@email vpopmail-5.2.1]# make
make all-recursive
make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
Making all in cdb
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
gcc -g -O2 -Wall -o vchkpw vchkpw.o
ibvpop mail.a -L/usr/lib/mysql -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

Reply via email to