[Date Prev][Date Next] [Chronological] [Thread] [Top]

config.log



i compiled successfully openldap2.0.22 on rh6.2. but when i check the
config.log i noticed this error:

configure:4531: winsock.h: No such file or directory
configure: failed program was:
#line 4530 "configure"
#include "confdefs.h"
#include <winsock.h>
configure:4565: checking for dlopen
configure:4594: gcc -o conftest -g -O2 -I/usr/local/ssl/include
-I/usr/local/BerkeleyDB.4.0/include -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.0/lib conftest.c  1>&5
/tmp/cckgmPja.o: In function `main':
/home/tim/x/openldap/configure:4588: undefined reference to `dlopen'
collect2: ld returned 1 exit status


how do i correct this bcos i cannot run make for my qmail-ldap which produces
this error:

./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

TIA

tim


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com