[Exim] LDAP support

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Joseph Kezar
Date:  
À: exim-users
Sujet: [Exim] LDAP support
I can't seem to build exim with LDAP support(a much need asset in our
environment).
When I have thw follwing line in my /Local/Makefile:
LOOKUP_LDAP=yes
at compile time I get:
ldap.c: In function `perform_ldap_search':
ldap.c:482: dereferencing pointer to incomplete type
ldap.c:483: dereferencing pointer to incomplete type
make[2]: *** [ldap.o] Error 1
and at the end of the make run:
gcc -o exim  accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o 
directory.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o 
host.o log.o match.o moan.o os.o parse.o queue.o readconf.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  version.o \
 libident/libident.a pcre/libpcre.a directors/directors.a \
 routers/routers.a transports/transports.a lookups/lookups.a \
 auths/auths.a \
 -lnsl -lcrypt     \
-ldb -lresolv -lldap -llber
drtables.o(.data+0x88): undefined reference to `eldap_open'
drtables.o(.data+0x90): undefined reference to `eldap_find'
drtables.o(.data+0x98): undefined reference to `eldap_tidy'
drtables.o(.data+0x9c): undefined reference to `eldap_quote'
drtables.o(.data+0xa8): undefined reference to `eldap_open'
drtables.o(.data+0xb0): undefined reference to `eldapm_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'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1


Mind you, I have the LDAP development libraries installed on my RH71
box. Can
you please give me some aid to adding the much needed LDAP support.

Thank you,
Joseph Kezar (jkezar@??? <mailto:jkezar@doc.state.vt.us>)
Vermont Department of Corrections
(802)241.2314