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

Using libtool -release versus -version-info breaks packages (ITS#3035)

Full_Name: Kean Johnston
Version: 2.2.7
OS: Multiple
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

OpenLDAP 2.2.7 introduced a change to how libtool is being used. build/top.mk
changes from using -version-info to using -release, and build/version.var
changes the format of ol_api_lib accordingly. This has serious packaging

The upshot of this change is that every time a new version of OpenLDAP comes
out, there is a new set of libraries that is produced. By using -release, file
names like liblber-2.2.7.so are used. The problem with this is that if you ever
distribute, say version 2.2.7 of OpenLDAP, then you have to ship that version
forever more, as there may be applications that now have that shared library as
a dependency. The purpose of -version-info is to fix exactly this, so that you
only need to ship old .so's for releases where the binary interface really has
changed. I am sure it was not your intention to make package vendors ship every
singel release of OpenLDAP thats ever been produced (or that a package
distributor may have published on the web).

Can you please go back to using -version-info? Many thanks.