i want to use the openldap+qmail,but when i do the follow steps,somethings is wrong 1.i tar -zxf openldap ./configure make depend make make test make install 2.tar qmail patch the qmail+ldap-patch 3.make setup check but the follow error occured. ./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \ check.o qldap-ldaplib.o qldap-debug.o sig.a strerr.a getln.a \ wait.a case.a cdb.a fd.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/lib -lldap -llber /usr/local/lib/libldap.so: undefined reference to `res_query' /usr/local/lib/libldap.so: undefined reference to `dn_expand' collect2: ld returned 1 exit status make: *** [qmail-lspawn] Error 1