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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to