[Samba] Solaris 8 & samba 3.2.3: present but cannot be compiled

William Wilson william.wilson at nau.edu
Tue Sep 16 20:07:18 GMT 2008


When we run configure using:
./configure --prefix=/nau/samba --without-LD --with-ldap --with-static- 
libs=libtalloc,libtdb --with-krb5=/nau/local --with-ads

We get the following:
configure: WARNING: ldap.h: present but cannot be compiled
configure: WARNING: ldap.h:     check for missing prerequisite headers?
configure: WARNING: ldap.h: see the Autoconf documentation
configure: WARNING: ldap.h:     section "Present But Cannot Be Compiled"
configure: WARNING: ldap.h: proceeding with the preprocessor's result
configure: WARNING: ldap.h: in the future, the compiler will take  
precedence
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to samba-technical at samba.org ##
configure: WARNING:     ## ---------------------------------------- ##
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_tag_t... yes
checking for ber_scanf in -llber... yes
checking for ber_sockbuf_add_io... yes
checking for LDAP_OPT_SOCKBUF... no
checking for LBER_OPT_LOG_PRINT_FN... yes
checking for ldap_init in -lldap... yes
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... no
checking whether LDAP support is used... yes
checking for Active Directory and krb5 support... yes
checking for ldap_initialize... (cached) no
configure: error: Active Directory support requires ldap_initialize


Any ideas?




More information about the samba mailing list