[Samba] error compiling samba 3.0.7 with ldap support
bmarriner at appss.com
Mon Sep 27 19:43:59 GMT 2004
Alright so I download strace and compiled it :). The output from it
however is of little help to me. It shows that configure is looking for
does not seem to say where configure is looking. I have added the
OpenLDAP lib folder to my ld.so.conf file and ran ldconfig and that
did not help any either. This is a Redhat 9.0 linux box.
Rick Brown wrote:
>depending on the platform you have lots of options. If it's
>linux, use strace to watch where configure is looking. Also,
>check /etc/ld.so.conf and make sure your ldap library path is included,
>then run ldconfig.
>If it's solaris, watch the configure process with truss and or
>set the environment variable LD_LIBRARY_PATH to include your
>If it's irix, watch the configure process with par and or set the
>you get the picture :)
>On Mon, 27 Sep 2004, Bruce Marriner wrote:
>> I am attempting to compile samba 3.0.7 with openldap using the
>>following configure command.
>>./configure --prefix=/opt/samba-3.0.7/ --enable-developer
>> I get the following responce.
>>checking lber.h presence... no
>>checking for lber.h... no
>>configure: WARNING: ldap.h is needed for LDAP support
>>checking for Active Directory and krb5 support... auto
>>configure: WARNING: Active Directory Support requires LDAP support
>> So I have toyed around with my ldap file and put it in quite a few
>>locations - which does little to help. Does anyone know
>>where exactly configure is looking for this file at and rather or now I
>>can tell it where the file is. I have been looking
>>at the configure script a bit but I am apparently not so good at reading
>>it because I can't answer my seemingly simple question.
More information about the samba