From: Matthias Apitz <guru@unixarea.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Linux: directory change .../lib to .../lib64
Date: Wed, 1 Dec 2021 14:45:15 +0100
Message-ID: <20211201134515.GB9@sh4-5.1blu.de> (raw)
In-Reply-To: <1721523.1638364294@sss.pgh.pa.us>
References: <20211201124207.GA9@sh4-5.1blu.de>
<1721523.1638364294@sss.pgh.pa.us>
El día Mittwoch, Dezember 01, 2021 a las 08:11:34 -0500, Tom Lane escribió:
> Matthias Apitz <guru@unixarea.de> writes:
> > Below the top level directory (--prefix) the lib directory changed with
> > version 14.x now from .../lib to .../lib64:
>
> > ls -ld /usr/local/sisis-pap/pgsql-*/li*
> > drwxr-xr-x 1 root root 2754 19. Jul 09:58 /usr/local/sisis-pap/pgsql-13.3/lib
> > drwxr-xr-x 1 root root 1594 19. Okt 10:36 /usr/local/sisis-pap/pgsql-14.0/lib64
> > drwxr-xr-x 1 root root 2810 29. Nov 10:59 /usr/local/sisis-pap/pgsql-14.1/lib64
>
> > This would mean changes of LD_LIBRARY_PATH of our servers using the
> > PostgreSQL server with ESQL/C interface (libecpg.so.6). Why this change
> > was made?
>
> You'd have to talk to the packager of whatever distribution you're using.
> No such change was made in the core PG code: the configure script still
> defaults to LIBDIR=EPREFIX/lib.
It's me who is the packager. I compiled from source and the used
configure run is:
#!/bin/sh
cd ~sisis/mpi-V73/postgresql-14.1 || exit
export LDFLAGS="-L/usr/local/sisis-pap/lib -L/usr/lib64"
export CFLAGS="-m64 -I/usr/local/sisis-pap/include"
export CPPFLAGS="-m64 -I/usr/local/sisis-pap/include"
./configure --prefix=/usr/local/sisis-pap/pgsql-14.1 \
--enable-nls \
--with-perl \
--with-ldap \
--with-pam \
--with-openssl
echo now run \'make world\' and as root \'make install-world\'
And this brings the shared libs to /usr/local/sisis-pap/pgsql-14.1/lib64
Thanks
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!
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-general@postgresql.org
Cc: guru@unixarea.de, tgl@sss.pgh.pa.us
Subject: Re: Linux: directory change .../lib to .../lib64
In-Reply-To: <20211201134515.GB9@sh4-5.1blu.de>
References: <20211201124207.GA9@sh4-5.1blu.de> <1721523.1638364294@sss.pgh.pa.us> <20211201134515.GB9@sh4-5.1blu.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