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

brain-damaged shared library versioning (ITS#3016)



Full_Name: Paul Kranenburg
Version: 2.2.6
OS: SunOS 5.9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (130.115.112.236)


Install OpenLDAP 2.2.5 on Solaris v9, and note that the liblber&libldap shared
library major version number is 201.

Next, upgrade to OpenLDAP 2.2.6, and note that the liblber&libldap shared
library
major version number has dropped to 199!

Inspection of the build process reveals that `libtool' performs some
brain-damaged
arithmetic on the components of the `ol_api_lib' variable defined in
version.var.
It appears the brain damage is designed for linux systems (and I don't want to
think
about the reasons for this design, for they are probably not very pretty..)

I get a sane shared library version scheme by setting

    version_type=sunos

in the `solaris*)' case of the `dynamic linker characteristics' section in
aclocal.m4.