----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Chris Knipe" <cgknipe@???>
Cc: <exim-users@???>
Sent: Tuesday, January 30, 2001 11:45 AM
Subject: 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
LOOKUP_LIBS=-L/usr/lib/mysql -lmysqlclient
Worked ;) Thanks Philip...
Regards,
Chris Knipe
Technical Administrator / Developer
Vardus (Pty) Ltd
Cape Town - South Africa
Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549
Cell: (+27) 83 430 8151