Hi

vim Makefile

find string LDAPLIBS=-L/usr/local/lib -lldap -llber and change it to
LDAPLIBS=-L/usr/local/lib -lldap -llber -lresolv

On Fri, Feb 22, 2002 at 07:15:16AM -0800, Roger Thomas wrote:
> i am no c-programmer, can you please elaborate.
> 
> TIA
> 
> --
> tim
> 
> --- Elliot Moore <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > 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
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com

-- 
------------------------------------------------ 
Sure, I'm paranoid! But am I paranoid enough? ;)
Tomas Hornicek  
Operation & Maintenance Administration  
Globtel a.s., member of the Orange Group
[EMAIL PROTECTED]

- - - - - BEGIN GEEK CODE BLOCK - - - - -
Version: 3.12
http://www.geekcode.com
GCS/IT d- s+:+ a-- C++ UL++++$B++++S++++$ P- L+++ 
E--- W+++ N++ !o K- w O M- V- PS !PE Y PGP+++ !t 
!5 X !R tv-- b+ DI D+ G e h* r- y+
- - - - - END GEEK CODE BLOCK - - - - -

Reply via email to