Re: [HACKERS] Shared libs with version numbers.

From: Tom Ivar Helbekkmo <tih+mail(at)Hamartun(dot)Priv(dot)NO>
To: darrenk(at)insightdist(dot)com (Darren King)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Shared libs with version numbers.
Date: 1998-04-30 07:41:10
Message-ID: 86ra2frc2x.fsf@barsoom.Hamartun.Priv.NO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

darrenk(at)insightdist(dot)com (Darren King) writes:

> Is there any purpose to the version numbers that some ports append
> to a shared lib name, besides keeping different versions around?

Well, no. That _is_ the point. Sort of. Version numbers make it
possible to have different generations of shared libraries installed,
and have different binaries use different ones. You can then install
a new version of the library -- and nothing will use it. Once you
recompile some binary, though, it will henceforth dynamically link
against the new one, i.e. the one that it was built for. This is, of
course, important because it allows the interface to change when the
version changes, without forcing you to recompile _everything_.

-tih
--
Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SARZ 1998-04-30 07:43:38 AW: [HACKERS] Revised proposal for libpq and FE/BE protocol chang es
Previous Message Michael Meskes 1998-04-30 07:40:57 s_lock.h patch