[afnog] Problem installing Exim with mysql support!

Frank Kuse Atimako franko at ghana.com
Wed May 11 13:42:07 EAT 2005


  
Hi everyone,  
  
I tried installing exim with support for Ldap, Mysql database but even  
though the compilation was successful the installation fails.  
This is a sample compilation below.  
Tanks 
  
  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ smtp_in.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ smtp_out.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ spool_in.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ spool_out.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ store.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ string.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ tls.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ transport.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ verify.c  
gcc -c -O -pipe  -I.  -o local_scan.o ../src/local_scan.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ malware.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ mime.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ regex.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ spam.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ spool_mbox.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ demime.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ bmi_spam.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ spf.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ srs.c  
gcc -c -O -pipe  -I.   -I/usr/local/openssl/include/ dk.c  
  
awk '{ print ($1+1) }' cnumber.h > cnumber.temp  
rm -f cnumber.h; mv cnumber.temp cnumber.h  
gcc -c -O -pipe    -I/usr/local/openssl/include/ version.c  
rm -f exim  
gcc -o exim  acl.o child.o crypt16.o daemon.o dbfn.o debug.o deliver.o   
directory.o dns.odrtables.o enq.o exim.o expand.o filter.o  filtertest.o  
globals.o  header.o host.o ip.o log.o lss.o match.o moan.o  os.o parse.o  
queue.o  rda.o readconf.o receive.o retry.o rewrite.o rfc2047.o  route.o  
search.o sieve.o smtp_in.o smtp_out.o spool_in.o spool_out.o  store.o  
string.o tls.o tod.o transport.o tree.o verify.o  local_scan.o  malware.o  
mime.o regex.o spam.o spool_mbox.o  demime.o bmi_spam.o spf.o srs.o dk.o  
version.o  pcre/libpcre.a  routers/routers.a transports/transports.a  
lookups/lookups.a  auths/auths.a   -lcrypt       -L/usr/local/lib -lldap  
-llber -L/usr/local/mysql/lib/mysql -lmysqlclient     
-L/usr/local/openssl/lib -lssl -lcrypto  
  
>>> exim binary built  
  
%su  
Password:  
franko# make install  
mkdir -p /usr/exim/bin  
/usr/exim/bin created  
  
Installation directory is /usr/exim/bin  
  
/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.14" not found,  
required by "exim"  
  
*** Could not run ./exim to find version number ***  
*** Exim installation failed ***  
*** Error code 1  
  
Stop in /usr/exim/exim-4.51.  
    
--  
Ghana.com Services (http://webmail.ghana.com)  
  



More information about the afnog mailing list