[Exim] FW: how to build with mysql

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Thomas Kinghorn
Dátum:  
Címzett: Exim-Users (E-mail)
Tárgy: [Exim] FW: how to build with mysql
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>


now I am really stumped.

Tom
>  -----Original Message-----
> From:     Thomas Kinghorn
> Sent:    24 November 2003 02:16
> To:    Exim-Users (E-mail)
> Subject:    how to build with mysql

>
> Hi List.
>
> I am busy testing the use of mysql with exim.
>
> I am having errors at make time..keep getting:
>
> <snip>
> ls.o tnef.o tod.o transport.o tree.o verify.o local_scan.o  version.o \
>   pcre/libpcre.a \
>   routers/routers.a transports/transports.a lookups/lookups.a \
>   auths/auths.a \
>   -lresolv -lnsl -lcrypt    \
>   -lpam -ldb -L/usr/local/lib -lldap -llber -lmysqlclient -lpq
> /usr/bin/ld: cannot find -lmysqlclient
> 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

>
> Do not know how to edit the Local/Makefile to incorporate the libs for
> mysql.
>
> Any help appreciated.
>
> Regards,
> Tom Kinghorn
>
>