Re: [Exim] problems compiling mysql support?

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Chris Knipe
CC: exim-users
Assunto: Re: [Exim] problems compiling mysql support?
On Sun, 28 Jan 2001, Chris Knipe wrote:

>   -lnsl -lcrypt     \
>   -ldb -lresolv -L/usr/lib -rdynamic  -L/usr/local/lib
> /usr/lib/perl5/5.6.0/i386-linux/auto/DynaLoader/DynaLoader.a
> -L/usr/lib/perl5/5.6.0/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt
> lookups/lookups.a(mysql.o): In function `mysql_tidy':
> mysql.o(.text+0x42): undefined reference to `mysql_close'


It can't see the MySQL libraries. Set something like this in
Local/Makefile.

LOOKUP_LIBS=-L/opt/local/mysql/lib -lmysqlclient



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.