HI!!Vishy..

THe problem definitely lies in some sybols & function calls unresolved..
If you r suing solaris system open  your make file & use LDAPLIBS line for
sloaris which has -R flag & make neccesary changes in -L flag to point it
to your ldap libraries .
Let me know what happned.
I got the same problem but i managed.
Himanshu


On Sun, 7 Oct 2001, Vishwanath K wrote:

> Hello all,
> I patch clean qmail-1.03 with qmail-ldap-1.03-20010301.patch, when i
> make the qmail
> it shows the error as below:
>
> .....
> ./compile auto_uids.c
> ./auto-str auto_usera `head -1 conf-users` > auto_usera.c
> ./compile auto_usera.c
> ./compile  -I/usr/local/include  qldap-ldaplib.c
> ./compile   qldap-debug.c
> ./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 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/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
>
> Am not understanding what exactly its looking for, i have all the ldap
> related .so in /usr/local/lib
> Kindly help
>
> ---------------------------
> K Vishwanath
> iNabling Technologies Pvt Ltd
> Rajajinagar
> Ph: 3104686, 3104687
> ---------------------------
>
>

Reply via email to