Just a %subj%.
I've installed ldap libraries (got from
www.openldap.org). libldap.so
and liblber.so layed at /usr/local/lib. This path I've added in
/etc/ld.so.conf.
In %Exim%/Local/Makefile I have following strings:
LOOKUP_LDAP=yes
LDAP_LIB_TYPE=UMICHIGAN
During 'make' I have an error just like this:
gcc -o exim accept.o child.o daemon.o dbfn.o debug.o deliver.o
direct.o direct\
libident/libident.a pcre/libpcre.a directors/directors.a \
routers/routers.a transports/transports.a lookups/lookups.a \
-lnsl -ldb -lresolv \
lookups/lookups.a(ldap.o): In function `perform_ldap_search':
ldap.o(.text+0x4f): undefined reference to `ldap_is_ldap_url'
ldap.o(.text+0xa5): undefined reference to `ldap_url_parse'
ldap.o(.text+0x1c2): undefined reference to `ldap_open'
...
lookups/lookups.a(ldap.o): In function `tidy':
ldap.o(.text+0x5c6): undefined reference to `ldap_free_urldesc'
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/.hdc1/tmp/exim-3.02/build-Linux-i386'
make: *** [go] Error 2
String 'EXTRALIBS=-L/usr/local/lib' in Makefile couldn't help too.
OS -- Linux (kernel 2.0.36)
Exim -- 3.02
What I do wrong ? Please help.