[2294] in Kerberos_V5_Development
shared library versioning thoughts
daemon@ATHENA.MIT.EDU (Tom Yu)
Sun Mar 9 15:12:36 1997
Date: Sun, 9 Mar 1997 15:10:36 -0500
To: krbdev@MIT.EDU
From: Tom Yu <tlyu@MIT.EDU>
The shared library system currently in the 1.0 does not allow for
compatibility between major versions of shared libraries that are
different minor versions, at least not on all platforms. Do we want
to fix this in a later release or not?
Performing this fix would involve explicitly setting the SONAME field
in some architectures and making a bunch of symlinks, e.g. for a
GNU-ld based ELF system:
libfoo.so.1.1 (has SONAME libfoo.so.1)
libfoo.so.1 -> libfoo.so.1.1
libfoo.so -> libfoo.so.1.1
Note that this would also be required under, say, Solaris. It may not
be necessary under some ports of NetBSD, due to some of the ld.so
versioning hacks that are used therein, though I believe the pmax and
alpha ports will require the "handful of symlinks" solution.
I would much prefer applying a change such as this to the trunk rather
than to the 1.0 release branch, mostly because it will be easier to
modify the new library build system to cope.
Do people think that we actually want to get shared library
major-version compatibility working in this way?
---Tom