[Exim] Exim 4.22 compile on RedHat 8 - fails with LDAP

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Xander D Harkness
Ημερομηνία:  
Προς: exim list
Αντικείμενο: [Exim] Exim 4.22 compile on RedHat 8 - fails with LDAP
I can compile fine without lookup_ldap.

I have openldap-devel installed. All software is at current release
versions.

For the ldap includes and libraries I have tried the following:

LOOKUP_INCLUDE=-I /usr/ldap -I /usr/ldap/include -I /usr/include/ldap
LOOKUP_LIBS=-L/usr/lib -lldap -llber

Can anyone tell me what I should have to make exim compile with LDAP?

I get the following errors:

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  version.o
\
  pcre/libpcre.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
  -lresolv -lnsl -lcrypt    \
   -ldb -L/usr/lib -lldap  -L/usr/share/ssl/lib -lssl -lcrypto
drtables.o(.data+0xa8): undefined reference to `eldap_open'
drtables.o(.data+0xb0): undefined reference to `eldap_find'
drtables.o(.data+0xb8): undefined reference to `eldap_tidy'
drtables.o(.data+0xbc): undefined reference to `eldap_quote'
drtables.o(.data+0xc8): undefined reference to `eldap_open'
drtables.o(.data+0xd0): undefined reference to `eldapdn_find'
drtables.o(.data+0xd8): undefined reference to `eldap_tidy'
drtables.o(.data+0xdc): undefined reference to `eldap_quote'
drtables.o(.data+0xe8): undefined reference to `eldap_open'
drtables.o(.data+0xf0): undefined reference to `eldapm_find'
drtables.o(.data+0xf8): undefined reference to `eldap_tidy'
drtables.o(.data+0xfc): undefined reference to `eldap_quote'
expand.o: In function `eval_condition':
expand.o(.text+0x121d): undefined reference to `eldapauth_find'
collect2: ld returned 1 exit status
make: *** [exim] Error 1


Kind regards
Xander