Re: [Exim] Building Exim with Ldap support

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Christophe - ICOR -
CC: exim-users
Onderwerp: Re: [Exim] Building Exim with Ldap support
On Fri, 27 Apr 2001, Christophe - ICOR - wrote:

> I would like to compile exim with ldap support but I cant't.
> You'll find some results and an extract of my /Local/Makefile after this.


> drtables.o(.data+0x88): undefined reference to `eldap_open'


That function is part of Exim's LDAP module in the source file
src/lookups/ldap.c. This error suggests that it has not been compiled
properly. Have you tried "make clean" and a rebuild?

> ------------------------------------------------------------------------
> LOOKUP_LDAP=yes


That's what you need.

> # If you have set LDAP=yes, you should set LDAP_LIB_TYPE to indicate which
> LDAP
> # library you have. Unfortunately, though most of their functions are the
> # same, there are minor differences. Currently Exim knows about four LDAP
> # libraries: the one from the University of Michigan (also known as OpenLDAP
> 1),
> # OpenLDAP 2, the Netscape SDK library, and the library that comes with
> Solaris
> # 7 onwards. Uncomment whichever of these you are using.
>
> # LDAP_LIB_TYPE=UMICHIGAN
> # LDAP_LIB_TYPE=OPENLDAP1
> # LDAP_LIB_TYPE=OPENLDAP2
> # LDAP_LIB_TYPE=NETSCAPE
> # LDAP_LIB_TYPE=SOLARIS



You need to set one of those...


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.