Shared Library version numbers

Thorsten Kukuk kukuk@weber.uni-paderborn.de
Sat May 9 00:10:00 GMT 1998


Hello,

I try to create a libdb.so.2 compat add-on for glibc 2.1, for 
binary backward compatibility with glibc 2.0.

The problem is, I could not use the shlib-versions file, because it
would be conflict with the libdb.so.3.

Hardcoding the version number in the Makefile with libdb.so-version=
is also not possible, because we have different numbers on ix86 and
alpha.
A solution would be nice, so that Distributors could add the old
libdb and libnss_* modules from glibc 2.0 to glibc 2.1 for
compatibility reasons. The NSS modules are necessary for static linked
programs like rpm.

Any Ideas ? Or should I create more then one add-on, with the only 
difference in the various version numbers for different platforms ?

  Thorsten

-- 
Thorsten Kukuk  kukuk@vt.uni-paderborn.de
                http://www-vt.uni-paderborn.de/~kukuk
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.



More information about the Libc-hacker mailing list