my guess is you're using solaris, right? Then add "-lresolv -lsocket" to the
list of compile options, or something like that. Do "man res_query" to see
what to add.

Franky

-----Original Message-----
From: qqj [mailto:[EMAIL PROTECTED]]
Sent: donderdag 23 augustus 2001 9:27
To: qmail-ldap
Subject: qmail + ldap compile error


hi��
      I have met a problem when compile qmail +ldap
  The error is following
check.o qldap-ldaplib.o qldap-debug.o sig.a strerr.a getln.a \
wait.a case.a cdb.a fd.a seek.a open.a env.a stralloc.a alloc.a \
substdio.a str.a qldap-errno.o error.a fs.a auto_qmail.o \
auto_uids.o auto_usera.o auto_spawn.o -L/usr/local/openldap/lib -lldap
-llber
/usr/local/openldap/lib/libldap.so: undefined reference to `res_query'
/usr/local/openldap/lib/libldap.so: undefined reference to `dn_expand'
make: *** [qmail-lspawn] Error 1
  I have patched ldap.why,any ideas?


---                  
With my best wishes!
            qqj
            [EMAIL PROTECTED]

Reply via email to