I don't really know about SuSe, but on Solaris you need to add -resolv and -lnsl to you LDAPLIBS variable in the Makefile
maybe this helps... Regards, -Oscar On Wed, Apr 24, 2002 at 08:45:41PM -0300, Flavio Fonseca wrote: > Hello to all, > > while compiling qmail-ldap patch, it came out with this error: > > ./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \ > check.o qldap-ldaplib.o qldap-debug.o output.o sig.a strerr.a constmap.o \ > 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 auto_break.o -L/lib -lldap -llber > /lib/libldap.so: undefined reference to `__dn_expand' > /lib/libldap.so: undefined reference to `__res_query' > collect2: ld returned 1 exit status > make: *** [qmail-lspawn] Error 1 > > I have openldap 2.0.23 installed. I've done this serval times in redhat. > > Now I making a server with SuSe 7.2,with the same openldap compiled and > installed and nothing works. On redhat it works... > > Anyone can tell me why? And how to solve it? > > Thanks in advance. > > Flavio. > -- pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
