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

Re: LDAP library version number



Quanah Gibson-Mount a écrit :

See ITS#3035 -- It is agreed that the 2.2.7 solution doesn't work either, and a new fix has been suggested.

http://www.openldap.org/its/index.cgi/Build?id=3035;selectid=3035;statetype=-1

OK, I've followed and tryed to understand that long ITS thread, I realize now that this soname issue is essential .
I just RPM packaged 2.2.8 and although library name changed ( due to -release + -version-info now), I still get a Failed dependencies on liblber.so.2 and libldap.so.2.
So does 2.2.X as a minor release compare to 2.1.X means an incompatible API (ABI ? not sure of what is an ABI :-( ), so that it would be very bad to link (ln -s) /usr/lib/liblber-2.2.so.7.0.1 to /usr/lib/liblber.so.2 ? if this is the preconize solution, should this be done by packager or it should be in the build process from openldap-2.2.8.tgz sources ?
After all , what do you suggest ?


Here's what I just packaged:
$ rpm -qpli openldap-2.2.8-1.i386.rpm | grep liblber
/usr/lib/liblber-2.2.so.7
/usr/lib/liblber-2.2.so.7.0.1

and Here's what is existing from my 2.1.25 packages:

$ ls -l /usr/lib/liblber*
-rw-r--r-- 1 root root 73464 Feb 18 09:57 /usr/lib/liblber.a
lrwxrwxrwx 1 root root 18 Feb 18 13:58 /usr/lib/liblber.so -> liblber.so.2.0.124
lrwxrwxrwx 1 root root 18 Feb 18 13:57 /usr/lib/liblber.so.2 -> liblber.so.2.0.124
-rwxr-xr-x 1 root root 47176 Feb 18 09:57 /usr/lib/liblber.so.2.0.124


By the way, does liblber.so.2.0.124 means that this library dates from openldap 2.0.X ? The openldap packages installed now on my machine is 2.1.25 !

Thanks.