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

> 


Reply via email to