RE: [Exim] Problem running exim after compiling with mysql s…

Pàgina inicial
Delete this message
Reply to this message
Autor: Jason Lixfeld
Data:  
A: 'Steve Haslam', exim-users
Assumpte: RE: [Exim] Problem running exim after compiling with mysql support
> > [root@industry SOURCES]# /services/mail/exim/bin/exim -d
> > /services/mail/exim/bin/exim: error while loading shared libraries:
> > libmysqlclient.so.11: cannot open shared object file: No
> such file or
> > directory
> > [root@industry SOURCES]#
> >
> > Exim Makefile:
> >
> > LOOKUP_MYSQL=yes
> > LOOKUP_INCLUDE=-I /services/db/mysql/include/mysql
> > LOOKUP_LIBS=-L /services/db/mysql/lib/mysql -lmysqlclient
>
> ldd /services/mail/exim/bin/exim
>
> Probably shows the libmysqlclient.so.11 library not found.
>
> Try adding -R /services/db/mysql/lib/mysql to LOOKUP_LIBS before
> -lmysqlclient.


Correct, it wasn't found. Nico Erfuth suggested adding the path to the
ld.so.conf ; ldconfig which fixed the problem aswell. What does the -R
option do? If that works, I would prefer to use that instead of making
the ld.so.conf non-default.