[Samba] samba-3.2.4 Solaris 9: configure gets error: Active Directory support requires ldap_initialize

John Center john.center at villanova.edu
Thu Oct 2 14:11:51 GMT 2008


Thanks, Volker.  This works for me.

I have a related configure question.  If you set --with-krb5=dir, 
shouldn't configure add a "-Rdir" so that it finds the run-time version 
of the library?  It appears to only do a "-Ldir", so some of the 
configure tests fail.

Thanks.

	-John


Volker Lendecke wrote:
> On Wed, Oct 01, 2008 at 06:28:42PM -0400, John Center wrote:
>> I had the same problem.  I fixed one line in configure:
>>
>> if test "x$debug" = "xyes" ; then
>>         CFLAGS="${CFLAGS} -g"
>> else
>>         CFLAGS="-O"
>> fi
>>
>> The second if statement was clearing my CFLAGS setting, replacing it 
>> with just "-O".  I changed the line from CFLAGS="-O" to 
>> CFLAGS="${CFLAGS} -O".  This kept my settings.  I don't know if this is 
>> the correct fix, but it worked for me.
> 
> Pushed the attached patch which should also solve it,
> configure is made from configure.in.
> 
> Volker
> 


More information about the samba mailing list