try a -lresolv 



On Fri, Feb 22, 2002 at 07:01:39AM -0800, tim tom wrote:
> i compiled qmail-ldap successfully on rh7.2 (qmail103/ldap2.0.22).
> i compiled openldap (2.0.22) successfully on rh6.2. and i can also compiled the 
>unpatched qmail103
> on rh6.2. but when i applied the qmail-ldap patch, i get this error when i do a make:
> 
> ./compile constmap.c
> ./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/usr/local/lib -L/usr/lib 
>/lib" -lldap
> -llber
> /usr/local/lib/libldap.so: undefined reference to `dlclose'
> /usr/local/lib/libldap.so: undefined reference to `dlopen'
> /usr/local/lib/libldap.so: undefined reference to `dlsym'
> /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
> 
> here is a list of ,y /usr/local/lib:
> 
> [rt@mta qmail-1.03]$ ll /usr/local/lib/liblber* 
> -rw-r--r--    1 root     root       232716 Feb 22 17:07 /usr/local/lib/liblber.a
> -rw-r--r--    1 root     root          739 Feb 22 17:07 /usr/local/lib/liblber.la
> lrwxrwxrwx    1 root     root           17 Feb 22 17:07 /usr/local/lib/liblber.so ->
> liblber.so.2.0.14
> lrwxrwxrwx    1 root     root           17 Feb 22 17:07 /usr/local/lib/liblber.so.2 
>->
> liblber.so.2.0.14
> -rw-r--r--    1 root     root       121966 Feb 22 17:07 
>/usr/local/lib/liblber.so.2.0.14
> [rt@mta qmail-1.03]$ ll /usr/local/lib/libldap*
> -rw-r--r--    1 root     root      1949724 Feb 22 17:07 /usr/local/lib/libldap.a
> -rw-r--r--    1 root     root          754 Feb 22 17:07 /usr/local/lib/libldap.la
> lrwxrwxrwx    1 root     root           17 Feb 22 17:07 /usr/local/lib/libldap.so ->
> libldap.so.2.0.14
> lrwxrwxrwx    1 root     root           17 Feb 22 17:07 /usr/local/lib/libldap.so.2 
>->
> libldap.so.2.0.14
> -rw-r--r--    1 root     root      1447406 Feb 22 17:07 
>/usr/local/lib/libldap.so.2.0.14
> -rw-r--r--    1 root     root      2140990 Feb 22 17:07 /usr/local/lib/libldap_r.a
> -rw-r--r--    1 root     root          766 Feb 22 17:07 /usr/local/lib/libldap_r.la
> lrwxrwxrwx    1 root     root           19 Feb 22 17:07 /usr/local/lib/libldap_r.so 
>->
> libldap_r.so.2.0.14
> lrwxrwxrwx    1 root     root           19 Feb 22 17:07 
>/usr/local/lib/libldap_r.so.2 ->
> libldap_r.so.2.0.14
> -rw-r--r--    1 root     root      1484150 Feb 22 17:07 
>/usr/local/lib/libldap_r.so.2.0.14
> 
> please advise.
> 
> rgds.
> tim
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com

-- 
... .. --.
ell[s]||[iot.moore]@devnull.org.uk

Reply via email to