[Exim] Problem running exim after compiling with mysql suppo…

Pàgina inicial
Delete this message
Reply to this message
Autor: Jason Lixfeld
Data:  
A: exim-users
Assumpte: [Exim] Problem running exim after compiling with mysql support
Greetings,

Not too sure why I'm getting this error. Wondering where I went wrong
in my exim compilation/config:

[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

[root@industry exim-4.10]# ls -al
/services/db/mysql/lib/mysql/libmysqlclient.*
-rw-r--r--    1 root     root       227556 Oct 17 19:05
/services/db/mysql/lib/mysql/libmysqlclient.a
-rwxr-xr-x    1 root     root          723 Oct 17 19:05
/services/db/mysql/lib/mysql/libmysqlclient.la
lrwxrwxrwx    1 root     root           24 Oct 17 19:05
/services/db/mysql/lib/mysql/libmysqlclient.so ->
libmysqlclient.so.11.0.0
lrwxrwxrwx    1 root     root           24 Oct 17 19:05
/services/db/mysql/lib/mysql/libmysqlclient.so.11 ->
libmysqlclient.so.11.0.0
-rwxr-xr-x    1 root     root       162784 Oct 17 19:05
/services/db/mysql/lib/mysql/libmysqlclient.so.11.0.0
[root@industry exim-4.10]#


If I run exim against strings, the library shows up, so I'm really not
sure what else to check.

It wouldn't be something with the mysql setup, would it? Running mysql
4.0.4-beta and have tried with and without the mysql configure option
--with-mysqld-ldflags=-all-static

Anyone have any suggestions?