RE: [Exim] FW: how to build with mysql - SOLVED

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Thomas Kinghorn
Datum:  
To: Exim-Users (E-mail)
Betreff: RE: [Exim] FW: how to build with mysql - SOLVED
On the money.

-lmysqlclient -lz

Thanks to srs & andreas


> -----Original Message-----
> From: Andreas Metzler [mailto:eximusers@downhill.at.eu.org]
> Sent: 25 November 2003 11:51
> To: Exim-Users (E-mail)
> Subject: 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

>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim details
> at http://www.exim.org/ ##
>