Re: [Exim] mysql authorization & courier IMAP server

Pàgina inicial
Delete this message
Reply to this message
Autor: Carlos Illana
Data:  
A: Heiko Schubert, exim-users
Assumpte: Re: [Exim] mysql authorization & courier IMAP server
> Hi Carlos,
Hi Heiko,

I've tried your solution, but unfortunately it doesn't work. I think that
it is not a problem of finding the library. I think it is a problem of
library interface mismatch between version expected by exim and what I
own. I've inspected the 'symbols' of the library
/usr/lib/libmysqlclient.so with 'nm' and mysql_open, etc, are not
there...

So, i don't know what to do???

Thanx
    Carlos


> > I'm having problems compiling exim with MYSQL support.
> > Gcc complains with this messages:


> > drtables.o(.data+0xe8): undefined reference to `mysql_open'
> > drtables.o(.data+0xf0): undefined reference to `mysql_find'
> > drtables.o(.data+0xf8): undefined reference to `mysql_tidy'
> > drtables.o(.data+0xfc): undefined reference to `mysql_quote'


> If your mysql is under /usr/local/mysql :


> edit /etc/ld.so.conf


> /usr/local/lib
> /usr/local/mysql/lib/mysql



> run "ldconfig"


> I hope it's helps.


> Bye,
>       Heiko