You should install zlib and zlib-devel.

-----Original Message-----
From: Thiago Campos [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 9:42 AM
Subject: [vchkpw] -lz instalation error


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
vdelivermail fsync
      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 =
email.consult.eng.br --enable-default-domain=email.consult.eng.br
          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
ibvpopmail.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