./configure error --with-ldap

Jeremy Jones JJones at nwnets.com
Sun Mar 5 18:10:18 GMT 2000


Hi all,

With several different cvs checkouts of SAMBA_TNG over the last three weeks,
I've been receiving an error when running ./configure --with-ldap.  I have
OpenLDAP 1.2.9, running on RH 6.1.  The last TNG I tried was last night
(3/4/00), but it has happened with several. Here's the last couple sections
of the config.log:


configure:9988: checking for two-argument statfs with struct fs_data
(Ultrix)
configure:10016: gcc -o conftest -O   conftest.c -lreadline -ldl  -lcrypt
-lpam -lcurses -lldap -llber 1>&5
configure: In function `main':
configure:10009: storage size of `fsd' isn't known
configure: failed program was:
#line 9996 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
#ifdef HAVE_SYS_FS_TYPES_H
#include <sys/fs_types.h>
#endif
  main ()
  {
  struct fs_data fsd;
  /* Ultrix's statfs returns 1 for success,
     0 for not mounted, -1 for failure.  */
  exit (statfs (".", &fsd) != 1);
  }
configure:10049: 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'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10045 "configure"
#include "confdefs.h"
#include "./tests/summary.c"


Any ideas what I should do about this?

Thanks!
Jeremy Jones


More information about the samba-ntdom mailing list