Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msPvK-0004hR-9k for pgsql-general@arkaria.postgresql.org; Wed, 01 Dec 2021 13:45:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1msPvJ-0003f1-5z for pgsql-general@arkaria.postgresql.org; Wed, 01 Dec 2021 13:45:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msPvI-0003er-LP for pgsql-general@lists.postgresql.org; Wed, 01 Dec 2021 13:45:24 +0000 Received: from smh-06.1blu.de ([178.254.0.206]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msPvD-0001kD-IJ for pgsql-general@lists.postgresql.org; Wed, 01 Dec 2021 13:45:23 +0000 Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.90_1) (envelope-from ) id 1msPv9-0002SC-Gr; Wed, 01 Dec 2021 14:45:15 +0100 Received: from localhost ([127.0.0.1]) by sh4-5.1blu.de with esmtp (Exim 4.90_1) (envelope-from ) id 1msPv9-0000E2-EE; Wed, 01 Dec 2021 14:45:15 +0100 Date: Wed, 1 Dec 2021 14:45:15 +0100 From: Matthias Apitz To: Tom Lane Cc: pgsql-general@lists.postgresql.org Subject: Re: Linux: directory change .../lib to .../lib64 Message-ID: <20211201134515.GB9@sh4-5.1blu.de> Reply-To: Matthias Apitz References: <20211201124207.GA9@sh4-5.1blu.de> <1721523.1638364294@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1721523.1638364294@sss.pgh.pa.us> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día Mittwoch, Dezember 01, 2021 a las 08:11:34 -0500, Tom Lane escribió: > Matthias Apitz 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!