Re: [Exim] FW: how to build with mysql

Página Inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
Para: Exim-Users (E-mail)
Assunto: Re: [Exim] FW: how to build with mysql
On Tue, Nov 25, 2003 at 10:31:17AM +0200, Thomas Kinghorn wrote:
> Have got the mysqlclient to read during build time but now it gives a new
> error


> <snip>
> _scan.o  version.o \
>   pcre/libpcre.a \
>   routers/routers.a transports/transports.a lookups/lookups.a \
>   auths/auths.a \
>   -lresolv -lnsl -lcrypt    \
>    -ldb -L/usr/lib/mysql -lmysqlclient
> /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
> my_compress.o(.text+0xaa): undefined reference to `uncompress'
> /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function
> `my_compress_alloc':
> my_compress.o(.text+0x13c): undefined reference to `compress'
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory `/downloads-mail/exim-4.22/build-Linux-i386'
> make: *** [go] Error 2
> <snip>

[...]

Probably a missing -lz and installing zlib-devel.
             cu andreas