Help on LDAP Compile

Thomas Collison tomc at sosinet.com
Wed Nov 24 15:59:00 GMT 1999


I have been trying to compile LDAP support on the CVS, and keep getting the
same errors from the config.log:

configure:9002: gcc -o conftest -O
  conftest.c -lreadline -ldl  -lcrypt -lpam -
lcurses -lldap -llber 1>&5
/usr/lib/libldap.so: undefined reference to `res_search'
/usr/lib/libldap.so: undefined reference to `dn_expand'
/usr/lib/libldap.so: undefined reference to `_getshort'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8998 "configure"
#include "confdefs.h"
#include "./tests/summary.c"

I am using stock RedHat 6.1 with openldap 1.2.7 libraries from the RedHat
ftp site.
Thank you for any help!!

Tom



More information about the samba mailing list