Good day!
I am trying to build exim with mysql support.
Here is my configuration:
RHEL 4
MySQL 5.0.45 community
Exim 4.69
In Local/Makefile:
LOOKUP_MYSQL=yes
LOOKUP_INCLUDE=-I /usr/include/mysql
LOOKUP_LIBS=-L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm
After compilation i see:
ldd bin/exim
/lib/libcwait.so (0x005d1000)
libresolv.so.2 => /usr/local/lib/libresolv.so.2 (0x00b87000)
libnsl.so.1 => /usr/local/lib/libnsl.so.1 (0x00ddc000)
libcrypt.so.1 => /usr/local/lib/libcrypt.so.1 (0x00302000)
libm.so.6 => /usr/local/lib/tls/libm.so.6 (0x0092b000)
libdb-4.2.so => /usr/local/lib/tls/i686/libdb-4.2.so
(0x00179000)
libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15
(0x00c01000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x00111000)
libperl.so =>
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so
(0x00473000)
libdl.so.2 => /usr/local/lib/libdl.so.2 (0x00ec9000)
libutil.so.1 => /usr/local/lib/libutil.so.1 (0x00122000)
libpthread.so.0 => /usr/local/lib/tls/libpthread.so.0
(0x00ac0000)
libc.so.6 => /usr/local/lib/tls/libc.so.6 (0x00741000)
libssl.so.4 => /usr/local/lib/libssl.so.4 (0x00126000)
libcrypto.so.4 => /usr/local/lib/libcrypto.so.4 (0x00330000)
/lib/ld-linux.so.2 (0x009e4000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
(0x0015a000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00247000)
libcom_err.so.2 => /usr/local/lib/libcom_err.so.2
(0x0016e000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x002ac000)
Then in config:
hide mysql_servers = localhost/exim/mail/secret-pass
and check:
exim -bV
Exim version 4.69 #1 built 08-May-2008 05:24:28
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 11,
2004)
Support for: crypteq iconv() Perl OpenSSL move_frozen_messages
Content_Scanning
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz mysql
Authenticators: cram_md5 dovecot plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
2008-05-08 06:03:07 Exim configuration error in line 823 of
/usr/exim/exim.conf:
option "mysql_servers" unknown
Can anybody help me why i can't get mysql suppot?
It seems all in right places.
I will appreciate any help.
Thank you.
dmitry scherbinin