I'm trying to set up qmail-ldap + qmail-ldap-controls on a RedHat 9 box.

I patched qmail with qmail-ldap-20040301a and qmail-ldap-controls-20040301a
and get this when I do make setup check:

./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \
qldap.a sig.a strerr.a constmap.o getln.a wait.a case.a cdb.a \
fd.a seek.a open.a dirmaker.o read-ctrl.o localdelivery.o env.a \
stralloc.a alloc.a substdio.a str.a error.a fs.a auto_qmail.o \
auto_uids.o auto_usera.o auto_spawn.o

qldap.a(qldap.o)(.text+0x633): In function `qldap_open':
: undefined reference to `ldap_init'

I got past an earlier error like this by adding $(LDAPINCLUDES) to
control.o. Tried the same thing to qldap.o and tried adding $(LDAPLIBS) to
./load qmail-lspawn. Still can't get it to make. My dirs for LDAPINCLUDES
and LDAPLIBS as defined in the Makefile appear to be ok.  I've RTFM'ed and
googled this thing to death.  Any advice ?

 - Rich

Reply via email to