pg.ddx.io pgsql-pkg-debian@postgresql.org mailing list archive
help / color / mirror / Atom feedMoving libpg{common,port,feutils}.a to pkglibdir?
2+ messages / 2 participants
[nested] [flat]
* Moving libpg{common,port,feutils}.a to pkglibdir?
@ 2018-05-03 18:40 Christoph Berg <myon@debian.org>
2018-05-04 13:47 ` Re: Moving libpg{common,port,feutils}.a to pkglibdir? Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Berg @ 2018-05-03 18:40 UTC (permalink / raw)
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>; +Cc: pgsql-pkg-debian
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Moving libpg{common,port,feutils}.a to pkglibdir?
2018-05-03 18:40 Moving libpg{common,port,feutils}.a to pkglibdir? Christoph Berg <myon@debian.org>
@ 2018-05-04 13:47 ` Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2018-05-04 13:47 UTC (permalink / raw)
To: Christoph Berg <myon@debian.org>; PostgreSQL Hackers <pgsql-hackers@postgresql.org>; pgsql-pkg-debian
On Thu, May 03, 2018 at 08:40:49PM +0200, Christoph Berg wrote:
> [*] I haven't checked, but this likely applies to Michael Paquier's
> version of it as well
Confirmed. That applies as well.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-05-04 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 18:40 Moving libpg{common,port,feutils}.a to pkglibdir? Christoph Berg <myon@debian.org>
2018-05-04 13:47 ` Michael Paquier <michael@paquier.xyz>
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