[Samba] Samba on Solaris with LDAP support

Dege, Robert C. robert.dege at ngc.com
Mon Jan 30 20:33:01 GMT 2006


I added the LDFLAGS="-L/usr/local/lib -R/usr/local/lib", but it did not
help, I still get the same error message. 

-Rob

> -----Original Message-----
> From: tiamat at komi.mts.ru [mailto:tiamat at komi.mts.ru] 
> Sent: Monday, January 30, 2006 1:59 PM
> To: Dege, Robert C.; samba at lists.samba.org
> Subject: Re: [Samba] Samba on Solaris with LDAP support
> 
> 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