how does libldap detection work in ./configure script?

Gerald (Jerry) Carter jerry at samba.org
Tue Jan 24 23:38:48 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tomasz Chmielewski wrote:
> I'm trying to cross-compile Samba 3.0.21a for a target Linux/mipsel.
> 
> Actually, it does compile after some minor chenges, and runs fine.
> 
> 
> What I failed to compile is ldap support - if I add --with-ldap to the
> ./configure script, it fails:
> 
> checking for LDAP support... yes
> checking ldap.h usability... yes
> checking ldap.h presence... yes
> checking for ldap.h... yes
> checking lber.h usability... yes
> checking lber.h presence... yes
> checking for lber.h... yes
> checking for ber_scanf in -llber... yes
> checking for ldap_init in -lldap... no
> checking for ldap_set_rebind_proc... no
> checking whether ldap_set_rebind_proc takes 3 arguments... 3
> configure: error: libldap is needed for LDAP support

Check config.log for the reason of the failure.  That the
first thing to do.







cheers, jerry
=====================================================================
I live in a Reply-to-All world                -----------------------
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1rqIIR7qMdg1EfYRAnsvAKDC7iynDdf6WprAUDYO29+VmDDaJACfS9sv
7xkmU+Yh/pRKvAYNS1ETdp8=
=54yp
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list