Antwort: [Samba] compiling libldap error??
Mathias.Wohlfarth at mw-eb.de
Mathias.Wohlfarth at mw-eb.de
Fri Jan 21 09:33:51 GMT 2005
LDFLAG=-L"<your path to the modules>"
regards
Mathias Wohlfarth EDV-Beratung
Thomas-Mann-Str.1
53111 Bonn
Tel. +49 172 / 53 45 591
+49 1801 / 777 555 33 01
Fax +49 228 / 9469181
Email mathias.wohlfarth at mw-eb.de
Tim Tyler <tyler at beloit.edu>
Gesendet von: samba-bounces+mathias.wohlfarth=mw-eb.de at lists.samba.org
20.01.2005 17:35
An: samba at lists.samba.org
Kopie:
Thema: [Samba] compiling libldap error??
Samba experts,
Ok, we are having so many problems getting ldap to work, we decided to
start over with our compile. We are compiling Samba --with-ldap on our
AIX
5.1 system which uses gcc. Openldap (for client support) exists in
/usr/local/openldap/2.2.17. In order for Samba to find the ldap.h file,
we had to configure with
CPPFLAGS="-I/usr/local/openldap/2.2.17/include" which worked great! Now
it finds ldap.h with no problem.
However, now the ./configure gives this error:
configure: error: libldap is needed for LDAP support
What exactly is it looking for now.? Is libldap supposed to be a
binary
or library? We can't find libldap anywhere. There is a lib directory in
openldap that contains a bunch of files such as:
# pwd
/usr/local/openldap/2.2.17/lib
# dir
total 12560
drwx------ 2 root system 512 Dec 15 13:59 .
drwx------ 7 root system 512 Dec 15 13:59 ..
-rw-r--r-- 1 root system 454117 Dec 15 13:59 liblber.a
-rw-r--r-- 1 root system 646 Dec 15 13:59 liblber.la
-rw-r--r-- 1 root system 2507942 Dec 15 13:59 libldap.a
-rw-r--r-- 1 root system 692 Dec 15 13:59 libldap.la
-rw-r--r-- 1 root system 3442991 Dec 15 13:59 libldap_r.a
-rw-r--r-- 1 root system 698 Dec 15 13:59 libldap_r.la
Is it looking for libldap.a? Note: we tried to configure with
LDFLAGS="-L/usr/local/openldap/2.2.17/lib" but that didn't resolve it. Any
suggestions for what we may need to do?
Tim Tyler
Network Engineer - Beloit College
tyler at beloit.edu
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list