[Samba] AIX and libldap.a

Doug VanLeuven roamdad at sonic.net
Tue Apr 12 22:56:55 GMT 2005


Roy Vickers wrote:

>I'm trying to get Samba 3.0.4.0 to run on AIX 5.2 and I am fighting a
>"Dependent module libldap.a could not be loaded" bug. I have IBM's version
>of LDAP installed but it doesn't have a libldap.a file. Is there a version
>of Samba that will run on AIX 5.2 that doesn't use LDAP? Or are there any
>ideas out there as to how I get the libldap.a loaded or pointed to IBM's
>LDAP?
>  
>
On my AIX 5.2 with ldap.client.rte 4.1.0.0 /usr/lib/libldap.a is a 
symbolic link to /usr/ldap/lib/libibmldapn.a.  Anything like that on 
your system?

I got tired of fighting the IBM software and installed openLDAP in it's 
own tree and point there using CFLAGS, CPPFLAGS, and LIBS during 
configure.  When I was doing the development, IBM Kerberos didn't 
support rc4-hmac either (they might not still), so I installed MIT 
Kerberos 1.3.4 for the whole system.  I sort of remember there being an 
issue with the IBM Kerberos include files as well.

Afterwards, you can check that the paths to the libs are hard coded in 
the executable header with
"dump -H <program>"

I'll take this opportunity to vote for samba4 using it's own ldap and 
heimdal rolled into the distribution.

Regards, Doug



More information about the samba mailing list