Re: Libraries question



On Sat, 6 Feb 1999 13:35:18 -0500  Ian Peters wrote:
> I could be very very wrong, so standard disclaimers apply.
> 
> I think that libtool generates the library names by binary
> compatability, not by the package number.  So foo 1.1.1 - 1.1.5 might
> all be binary compatible, so it can name them libfoo-1.1.so.1, and all
> apps that look for this work.  But if foo 1.1.6 is _not_ binary
> compatible with the earlier releases of foo, it names it
> libfoo-1.1.so.2.  Then, an app which looks for libfoo-1.1.so.1 knows
> it won't work with libfoo-1.1.so.2, because they're not binary
> compatible.  If they just looked for libfoo.so, it might link with a
> non-binary compatible libary.

Aha!  This makes sense.  So when I go through my lib directory and
clean out old versions, bad things happen to some apps.  (Which gets
fixed when I recompile and install.)

--
Bruce Z. Lysik  <eldrik@logrus.com>   http://www.logrus.com/~eldrik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]