[afnog] Exim with Ldap and mysql support

Emmanuel Togo ematogo at gmail.com
Fri Jun 10 20:59:21 EAT 2005


Hi all!
I am trying to build exim with mysql and ldap support on solaris 8 but
not successful. attached is a sample  with the error. I need help

Thanks 

gcc -c -O  rf_get_transport.c
gcc -c -O  rf_get_ugid.c
gcc -c -O  rf_lookup_hostlist.c
gcc -c -O  rf_queue_add.c
gcc -c -O  rf_self_action.c
gcc -c -O  rf_set_ugid.c
/bin/rm -f routers.a
ar cq routers.a accept.o dnslookup.o ipliteral.o iplookup.o
manualroute.o queryprogram.o redirect.o rf_change_domain.o
rf_expand_data.o rf_get_errors_address.o rf_get_munge_headers.o
rf_get_transport.o rf_get_ugid.o rf_lookup_hostlist.o rf_queue_add.o
rf_self_action.o rf_set_ugid.o
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/usr/exim/exim-4.51/build-SunOS5-5.8-sparc/routers'
 
make[2]: Entering directory
`/usr/exim/exim-4.51/build-SunOS5-5.8-sparc/transports'
gcc -c -O  appendfile.c
gcc -c -O  autoreply.c
gcc -c -O  lmtp.c
gcc -c -O  pipe.c
gcc -c -O  smtp.c
gcc -c -O  tf_maildir.c
/bin/rm -f transports.a
ar cq transports.a appendfile.o autoreply.o lmtp.o pipe.o smtp.o tf_maildir.o
/bin/rm -rf ../drtables.o
make[2]: Leaving directory
`/usr/exim/exim-4.51/build-SunOS5-5.8-sparc/transports'
 
make[2]: Entering directory `/usr/exim/exim-4.51/build-SunOS5-5.8-sparc/auths'
gcc -c -O  b64encode.c
gcc -c -O  b64decode.c
gcc -c -O  call_pam.c
gcc -c -O  call_pwcheck.c
gcc -c -O  call_radius.c
gcc -c -O  xtextencode.c
gcc -c -O  xtextdecode.c
gcc -c -O  get_data.c
gcc -c -O  get_no64_data.c
gcc -c -O  md5.c
gcc -c -O  cram_md5.c
gcc -c -O  cyrus_sasl.c
gcc -c -O  plaintext.c
gcc -c -O  pwcheck.c
gcc -c -O  sha1.c
gcc -c -O  auth-spa.c
gcc -c -O  spa.c
/bin/rm -f auths.a
ar cq auths.a b64encode.o b64decode.o call_pam.o call_pwcheck.o
call_radius.o xtextencode.o xtextdecode.o get_data.o get_no64_data.o
md5.o cram_md5.o cyrus_sasl.o plaintext.o pwcheck.o sha1.o auth-spa.o
spa.o
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/usr/exim/exim-4.51/build-SunOS5-5.8-sparc/auths'
 
gcc -c -O -I.    acl.c
gcc -c -O -I.    child.c
gcc -c -O -I.    crypt16.c
gcc -c -O -I.    daemon.c
gcc -c -O -I.    dbfn.c
gcc -c -O -I.    debug.c
gcc -c -O -I.    deliver.c
gcc -c -O -I.    directory.c
gcc -c -O -I.    dns.c
gcc -c -O -I.    drtables.c
gcc -c -O -I.    enq.c
gcc -c -O -I.    exim.c
gcc -c -O -I.    expand.c
gcc -c -O -I.    filter.c
gcc -c -O -I.    filtertest.c
gcc -c -O -I.    globals.c
gcc -c -O -I.    header.c
gcc -c -O -I.    host.c
gcc -c -O -I.    ip.c
gcc -c -O -I.    log.c
gcc -c -O -I.    lss.c
gcc -c -O -I.    match.c
gcc -c -O -I.    moan.c
gcc -c -O -I.    os.c
gcc -c -O -I.    parse.c
gcc -c -O -I.    queue.c
gcc -c -O -I.    rda.c
gcc -c -O -I.    readconf.c
gcc -c -O -I.    receive.c
gcc -c -O -I.    retry.c
gcc -c -O -I.    rewrite.c
gcc -c -O -I.    rfc2047.c
gcc -c -O -I.    route.c
gcc -c -O -I.    search.c
gcc -c -O -I.    sieve.c
gcc -c -O -I.    smtp_in.c
gcc -c -O -I.    smtp_out.c
gcc -c -O -I.    spool_in.c
gcc -c -O -I.    spool_out.c
gcc -c -O -I.    store.c
gcc -c -O -I.    string.c
gcc -c -O -I.    tls.c
gcc -c -O -I.    transport.c
gcc -c -O -I.    verify.c
gcc -c -O -I.  -o local_scan.o ../src/local_scan.c
gcc -c -O -I.    malware.c
gcc -c -O -I.    mime.c
gcc -c -O -I.    regex.c
gcc -c -O -I.    spam.c
gcc -c -O -I.    spool_mbox.c
gcc -c -O -I.    demime.c
gcc -c -O -I.    bmi_spam.c
gcc -c -O -I.    spf.c
gcc -c -O -I.    srs.c
gcc -c -O -I.    dk.c
 
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc -c -O    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.o drtables.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 \
  -lresolv -lsocket -lnsl -lkstat    \
    -L/usr/local/mysql/lib -lmysqlclient -L/usr/local/lib -lldap -llber  \
    
Undefined                       first referenced
 symbol                             in file
libiconv                            rfc2047.o
libiconv_open                       rfc2047.o
compress                           
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o)
libiconv_close                      rfc2047.o
floor                              
/usr/local/mysql/lib/libmysqlclient.a(password.o)
uncompress                         
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o)
ld: fatal: Symbol referencing errors. No output written to exim
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/exim/exim-4.51/build-SunOS5-5.8-sparc'
make: *** [go] Error 2
bash-2.03$



More information about the afnog mailing list