[Exim] Problems building Exim 4.20 with LDAP

Pàgina inicial
Delete this message
Reply to this message
Autor: DM
Data:  
A: Exim Users
Assumpte: [Exim] Problems building Exim 4.20 with LDAP
Exim 4.20 on Solaris 8, OpenLDAP 2.1.21

Building Exim does not successfully complete. Ends with this error:
ld: fatal: Symbol referencing errors. No output written to exim


Local/Makefile looks like this:

BIN_DIRECTORY=/apps/exim/bin
CONFIGURE_FILE=/apps/exim/configure
EXIM_USER=exim
SPOOL_DIRECTORY=/var/spool/exim
ROUTER_ACCEPT=yes
ROUTER_DNSLOOKUP=yes
ROUTER_IPLITERAL=yes
ROUTER_MANUALROUTE=yes
ROUTER_QUERYPROGRAM=yes
ROUTER_REDIRECT=yes
TRANSPORT_APPENDFILE=yes
TRANSPORT_AUTOREPLY=yes
TRANSPORT_PIPE=yes
TRANSPORT_SMTP=yes
SUPPORT_MAILDIR=yes
LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
LOOKUP_LDAP=yes
LDAP_LIB_TYPE=OPENLDAP2

Last parts of output from "Make":

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.    tod.c
gcc -c -O -I.    transport.c
gcc -c -O -I.    tree.c
gcc -c -O -I.    verify.c
gcc -c -O -I.  -o local_scan.o ../src/local_scan.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 route.o search.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  version.o \
  pcre/libpcre.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
  -lresolv -lsocket -lnsl -lkstat    \


Undefined                       first referenced
 symbol                             in file
ldap_memfree                        lookups/lookups.a(ldap.o)
ldap_get_dn                         lookups/lookups.a(ldap.o)
ldap_result                         lookups/lookups.a(ldap.o)
ldap_err2string                     lookups/lookups.a(ldap.o)
ldap_unbind                         lookups/lookups.a(ldap.o)
ldap_first_entry                    lookups/lookups.a(ldap.o)
ldap_next_attribute                 lookups/lookups.a(ldap.o)
ldap_parse_result                   lookups/lookups.a(ldap.o)
ldap_url_parse                      lookups/lookups.a(ldap.o)
ldap_get_option                     lookups/lookups.a(ldap.o)
ldap_value_free                     lookups/lookups.a(ldap.o)
ldap_search                         lookups/lookups.a(ldap.o)
ldap_is_ldap_url                    lookups/lookups.a(ldap.o)
ldap_set_option                     lookups/lookups.a(ldap.o)
ldap_bind_s                         lookups/lookups.a(ldap.o)
ldap_msgfree                        lookups/lookups.a(ldap.o)
ldap_first_attribute                lookups/lookups.a(ldap.o)
ldap_initialize                     lookups/lookups.a(ldap.o)
ldap_next_entry                     lookups/lookups.a(ldap.o)
ldap_get_values                     lookups/lookups.a(ldap.o)
ldap_free_urldesc                   lookups/lookups.a(ldap.o)
ld: fatal: Symbol referencing errors. No output written to exim
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1


Any ideas?

Thanks,

David