[Samba] AIX and libldap.a

Fred Lacombe fred.lacombe at linagora.com
Wed Apr 13 08:45:28 GMT 2005


I had to run Samba 3.0.4 on AIX 4.3 and HP-UX 11.00
On those machines I had to 'rebuild' the static libraries libldap/liblber.
This was due to several LDAP oimplementation present on the machine, the
constructor's and mien (OpenLDAP).

'Rebuild' here is more a trick, linking to the right lib and manually
creating the libldap.a from Openldap *.o files using ar.

Hope it helps...

-- 
Fred Lacombe                                        Linagora S.A.
Open Source Project Manager                30, rue Saint Augustin
                                      Tel. : +33 (0)1 58 18 68 28
                                      Fax. : +33 (0)1 58 18 68 29

> 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
>
> --
> 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