Re: [vchkpw] -lz instalation error
Thanks to everybody who helped me. The problem was solved when i installed the zlib-devel But now i'm getting the following error: 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 clearopensmtp clearopensmtp.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm clearopensmtp.o: In function `main': /usr/local/src/vpopmail-5.2.1/clearopensmtp.c:53: undefined reference to `vclear_open_smtp' /usr/local/src/vpopmail-5.2.1/clearopensmtp.c:82: undefined reference to `update_rules' collect2: ld returned 1 exit status make[2]: *** [clearopensmtp] 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 Thiago - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 11:49 AM Subject: RE: [vchkpw] -lz instalation error > Hi, > > You should install zlib and zlib-devel. > > -Original Message- > From: Thiago Campos [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 9:42 AM > To: [EMAIL PROTECTED] > Subject: [vchkpw] -lz instalation error > > > Hi, > > 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 > > > >
RE: [vchkpw] -lz instalation error
Hi, You should install zlib and zlib-devel. -Original Message- From: Thiago Campos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: [vchkpw] -lz instalation error Hi, 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
Re: [vchkpw] -lz instalation error
zlib is installed! [root@email vpopmail-5.2.1]# rpm -q zlib zlib-1.1.3-25.7 The libmysqlclient is in the /usr/lib/mysql - Original Message - From: "Dzuy Nguyen" <[EMAIL PROTECTED]> To: "Thiago Campos" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 11:32 AM Subject: Re: [vchkpw] -lz instalation error > Install zlib! > > Thiago Campos wrote: > > >Hi, > > > >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 > > > > > > > >
Re: [vchkpw] -lz instalation error
Hi Thiago, I think you need the zlib package (also zlib-dev). That might solve your problem Regards ! On Tue, 2002-08-27 at 08:41, Thiago Campos wrote: > Hi, > > 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 >
Re: [vchkpw] -lz instalation error
Hello Thiago, On Tuesday, August 27, 2002 at 3:41:59 PM you wrote: > /usr/bin/ld: cannot find -lz make sure 'zlib' is installed (rpm -qi zlib) and if necessary add the path of libz.so to /etc/ld.so.conf and run 'ldconfig' The latter two steps shouldn't be necessary if you install the zlib RPMs from RedHat. -- Best regards Peter Palmreuthermailto:[EMAIL PROTECTED]
Re: [vchkpw] -lz instalation error
Install zlib! Thiago Campos wrote: >Hi, > >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 > > >
Re: [vchkpw] -lz instalation error
Make sure the LIBRARY_PATH includes the directory where zlib resides or include it in /etc/ld.cache.conf Thiago Campos wrote: 020e01c24dd8$84a3d7c0$0400a8c0@terra"> zlib is installed![root@email vpopmail-5.2.1]# rpm -q zlibzlib-1.1.3-25.7The libmysqlclient is in the /usr/lib/mysql- Original Message -From: "Dzuy Nguyen" <[EMAIL PROTECTED]>To: "Thiago Campos" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>Sent: Tuesday, August 27, 2002 11:32 AMSubject: Re: [vchkpw] -lz instalation error Install zlib!Thiago Campos wrote: Hi,I'm getting the following error on my RH 7.3This is my ./configure outputvpopmail 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=ymysql replication = OFF --enable-mysql-replication=n defaulttable optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y defaultfile sync = OFF --enable-file-sync=n default disable vdelivermail fsync auth logging = ON --enable-auth-logging=y defaultmysql 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]# makemake all-recursivemake[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'Making all in cdbmake[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.oibvpop mail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm/usr/bin/ld: cannot find -lzcollect2: ld returned 1 exit statusmake[2]: *** [vchkpw] Error 1make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'make: *** [all-recursive-am] Error 2
[vchkpw] -lz instalation error
Hi, 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