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

Re: [HACKERS] Shared libs with version numbers.

From: Michael Meskes <meskes(at)topsystem(dot)de>
To: darrenk(at)insightdist(dot)com (Darren King)
Cc: pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker)
Subject: Re: [HACKERS] Shared libs with version numbers.
Date: 1998-04-30 07:25:02
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
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?

Yes. Making sure your application doesn't load an incompatible version of
the lib.

> Using libpq as an example, is there a difference to the system if...
> $(MAKE)
> $(LN)
> ...rather than...
> $(MAKE)
> $(LN)

No. The file the system knows is either way. You might even call
it in your Makefile as long as it is installed as


Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes(at)topsystem(dot)de                    | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

In response to

pgsql-hackers by date

Next:From: Michael MeskesDate: 1998-04-30 07:40:57
Subject: s_lock.h patch
Previous:From: Michael MeskesDate: 1998-04-30 07:22:56
Subject: Re: [HACKERS] ANSI error messages

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