From: Julien Maisonneuve (julien@incal.inria.fr)
Date: 02/26/93


From: julien@incal.inria.fr (Julien Maisonneuve)
Subject: Unsharable Shared Libraries.
Date: 26 Feb 1993 11:00:21 GMT


library with a different version number than the one the application was compiled
with.

This is a problem because in practise, you always have executables compiled with
different versions on your disk. So you have to keep libraries of every version
for wich you have an executable, and since libraries are large objects and that
there are many of them, it takes up too much disk space.
Moreover, if you get a shrink-wrapped executable for which you do not have the
right library version (even though you have the latest libraries), you can as
well throw it away.

The SunOS approach is much better: whenever a new shared library is installed
(with ldconfig), whatever its version is, it is seen as the regular library for
all executables. You only need to keep one library of each kind around,
installing the most recent library ALWAYS works.

So, unless I was totally wrong from the start, I would like to know if there is a
way to make Linux behave a bit like SunOS, and why it was not designed that way
in the first place.
Thanks,

-- 
  _________                    Julien.Maisonneuve@inria.fr  julien@sor.inria.fr
      /                 _ _ _                     ...!uunet!inria!corto!julien
     /     /)          ' ) ) )                    INRIA :  33 (1) 39 63 52 08
  __/_    // o _  __    / / / _   o _   _   __   __   _      _     _
 / / (_(_(/_(_(<_/) )  / ' (_(_(_(_/_)_(_)_/) )_/) )_(<_(_(_( \_)-(<_
(_/