pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Cc: Michael Meskes <meskes@postgreSQL.org>
Subject: Re: Let's get rid of the separate minor version numbers for shlibs
Date: Mon, 15 Aug 2016 18:45:35 -0400
Message-ID: <b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com> (raw)
In-Reply-To: <20160815211155.GL4028@tamriel.snowman.net>
References: <21969.1471287988@sss.pgh.pa.us>
	<11ac2767-ac84-1da1-7c6e-75e44011e8e2@2ndquadrant.com>
	<20160815211155.GL4028@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 8/15/16 5:11 PM, Stephen Frost wrote:
> Eh?  Last I checked, we needed minor version bumps to ensure that
> binaries compiled against later versions, which might use newer symbols,
> don't try to link against older libraries (which wouldn't have those
> symbols).

Let's review:

What we install is

libpq.so.5.8 (actual file)
libpq.so.5 -> libpq.so.5.8
libpq.so -> libpq.so.5.8

The second one is the one used at run-time, looked up by SONAME.

The third one is the one used at build time, because -lpq means look for
libpq.so.

If we instead installed

libpq.so.5 (actual file)
libpq.so -> libpq.so.5

nothing would effectively change.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (10+ messages)  latest in thread

Message-ID: <b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com>
Permalink:  ../b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com/
Also on:    postgresql.org/message-id/b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, sfrost@snowman.net, tgl@sss.pgh.pa.us, meskes@postgreSQL.org
  Subject: Re: Let's get rid of the separate minor version numbers for shlibs
  In-Reply-To: <b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com>
  References: <21969.1471287988@sss.pgh.pa.us> <11ac2767-ac84-1da1-7c6e-75e44011e8e2@2ndquadrant.com> <20160815211155.GL4028@tamriel.snowman.net> <b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox