[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP library version number

Kurt D. Zeilenga wrote:

You can think of the API as being defined in <ldap.h> and the ABI being defined as the linker's interface. In both cases, the interface is not just syntax, but also semantics associated with the syntax.

Just one note to add. The content of ldap.h in OpenLDAP 2.2 changed in such a way that internal data structures in python-ldap, a Python wrapper module around OpenLDAP libs, did not work anymore. (I fixed this in recent release python-ldap-2.0.0pre21). I would expect other LDAP applications to break at the API level as well when being built with OpenLDAP 2.2.x.

so that it would be very bad to link (ln -s)
to /usr/lib/liblber.so.2 ?

It certainly would not be all that wise.

To make it really clear: It simply does not work at the ABI level if you deploy software linked against OpenLDAP 2.1.x!

Ciao, Michael.

P.S.: The version number of python-ldap is completely unrelated to version numbering of OpenLDAP distribution and LDAP library version number. ;-)