[Samba] Samba on Solaris with LDAP support

Дейтер Александр Ва Дейтер Александр Ва
Mon Jan 30 18:58:57 GMT 2006

Dege, Robert C. wrote:

> I'm trying to build samba with ldap/ads support on a solaris10 sparc
> system.  After some googling, I followed some the advise of others, and
> built krb5, openssl, and openldap and installed into /usr/local.
> When running configure, I get errors about ldap not being found:
> checking for ber_scanf in -llber... yes
> checking for ldap_init in -lldap... no
> checking for ldap_set_rebind_proc... no
> configure: error: libldap is needed for LDAP support
> I do have LD_LIBRARY_PATH defined with /usr/local/lib, and the CPPFLAGS
> is set in the configure line:

> # ./configure CFLAGS="-O3 -pipe" CPPFLAGS="-I/usr/local/include"

Add LDFLAGS="-L/usr/local/lib -R/usr/local/lib" for build Samba with
OpenLDAP client library.

Alex Deiter

More information about the samba mailing list