pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Moving libpg{common,port,feutils}.a to pkglibdir?
Date: Thu, 3 May 2018 20:40:49 +0200
Message-ID: <20180503184049.GA1408@msg.df7cb.de> (raw)

Debian's PostgreSQL packages allow installation of several server
versions in parallel, but only one libpq and libpq-dev package is
provided, i.e. libpq is always from the latest stable branch. There
are separate postgresql-server-dev-NN packages for the
version-specific header files. So far, postgresql-server-dev-NN does
not contain any libraries.

In the context of Michael Banck's pg_checksums program [*], we ran
into the problem that libpqport.a is not compatible across server
versions. Currently it is installed into LIBDIR (=
/usr/lib/<arch-triplet>). It would need to be in PKGLIBDIR (=
/usr/lib/postgresql/NN/lib) to allow co-installation of several
versions. (This is actually the first time we try to package client
programs that are server-version-dependant; pg-filedump works on all
server versions no matter what version it is linked against.)

I'm contemplating moving these static libs to PKGLIBDIR. Or should
libfeutils.a better stay in LIBDIR, with only one version?

Maybe they should be moved in "stock" PostgreSQL as well?

Christoph

[*] I haven't checked, but this likely applies to Michael Paquier's
version of it as well




view thread (2+ messages)  latest in thread

Message-ID: <20180503184049.GA1408@msg.df7cb.de>
Permalink:  ../20180503184049.GA1408@msg.df7cb.de/
Also on:    postgresql.org/message-id/20180503184049.GA1408@msg.df7cb.de

 · 

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-pkg-debian@postgresql.org
  Cc: myon@debian.org, pgsql-hackers@postgresql.org
  Subject: Re: Moving libpg{common,port,feutils}.a to pkglibdir?
  In-Reply-To: <20180503184049.GA1408@msg.df7cb.de>
  References: <20180503184049.GA1408@msg.df7cb.de>

* 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