Thanks Ken! That fixed it.
I'm still having troubles getting data inserted into the demographic table. Is there any way to debug it? I've validated that the user/password for mySQL works, I can do inserts using the mysql client, but no dice with vqregister doing it automatically. Lance -----Original Message----- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 11:01 AM To: Qmail Cc: vpopmail Subject: Re: vqregister and mySQL 3.23.45? On Mon, 2001-11-26 at 11:04, Qmail wrote: > Hello all, > > I recently created a RH 7.2 box with the mySQL 3.23.45 RPM from mySQL.com. > > I've managed to get vpopmail, qmail, qmailadmin and sqwebmail all happily > compiled, however I cannot get vqregister to compile. > > The error I get is: > > gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o > register.o password.o vpopmail.o db.o field.o badhosts.o > -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib/mysql -lmysqlclient > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress': > my_compress.o(.text+0x9a): undefined reference to `uncompress' > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function > `my_compress_alloc': > my_compress.o(.text+0x12a): undefined reference to `compress' > collect2: ld returned 1 exit status > make: *** [vqregister] Error 1 > > > Looks more like a mysql issue than a vqregister, however since all the other > qmail/vpopmail pieces compile I'm at a loss of where to start. > > Best, > > Lance > Add -lz after -lmysqlclient Ken Jones >
