Subject: Re: shlib versions
To: Michael L. VanLoon -- Iowa State University <>
From: Paul Kranenburg <>
List: current-users
Date: 11/19/1993 00:35:53
> I can see it now -- sup, rebuild, sup, rebuild, sup, rebuild... and
> seventeen different versions of the same shared library.  Just exactly
> what is safe and what is not safe to remove as far as shared library
> versions?  If I build my system against a 0.0 version, then later
> against a 1.1, and have a 0.0, 0.1, 1.0, 1.1, and 1.2 (theoretically),
> which can safely be removed, and which shouldn't be (even if it might
> be safe)?
> Just trying to get a feel for how dynamic the linking really is, and
> what I can get off my disk to make more space.

It should be safe to remove the lesser minor versions of a library once
you're satisfied with the performance of a new one (eg. you can remove
1.0 and 1.1). Old major versions (eg. 0.*) can be removed only if there
no longer programs (that you want to run) that were build with these versions
as the run-time linker refuses to load the newer versions in their stead.

If you're updating your shared library collection, don't forget to run
ldconfig(8) afterwards (not critical, but it improves (startup) performance).