[Exim] Error when compiling Exim with MySQL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: XeCtiC
Date:  
À: exim-users
Sujet: [Exim] Error when compiling Exim with MySQL
I get an error when compiling Exim with MySQL support:
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/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[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/src/exim-3.31/build-Linux-i386'
make: *** [go] Error 2

This are the lines in my Local/Makefile:
LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
LOOKUP_MYSQL=yes
LOOKUP_INCLUDE=-I /usr/include -I /usr/local/include -I
/usr/local/mysql/include
LOOKUP_LIBS=-L /usr/lib -L /usr/local/lib -L
/usr/local/mysql/lib -lmysqlclient

I use a binary distribution of MySQL version 3.23.39. With
/usr/local/mysql/lib in ld.so.conf.

All this running on RH 6.2 - Linux 2.4.6

Can anyone help me out?

Sander van der Vliet

ps. this is my fist time I send a email to a mailinglist, I hope I am
doing everything right.