Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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_.

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

In response to

pgsql-hackers by date

Next:From: Zeugswetter Andreas SARZDate: 1998-04-30 07:43:38
Subject: AW: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Previous:From: Michael MeskesDate: 1998-04-30 07:40:57
Subject: s_lock.h patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group