Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxtcB-0002cw-46 for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jan 2013 06:15:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TxtcA-0002AE-IO for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jan 2013 06:15:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxhL5-00072T-OF for pgsql-bugs@postgresql.org; Tue, 22 Jan 2013 17:08:47 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxhL1-00034q-Jg for pgsql-bugs@postgresql.org; Tue, 22 Jan 2013 17:08:47 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxhKz-00022m-SR for pgsql-bugs@postgresql.org; Tue, 22 Jan 2013 17:08:42 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TxhKz-0000Fl-KD for pgsql-bugs@postgresql.org; Tue, 22 Jan 2013 17:08:41 +0000 Date: Tue, 22 Jan 2013 17:08:41 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries To: pgsql-bugs@postgresql.org From: georgi-georgiev-pgsql@japannext.co.jp X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 7822 Logged by: Georgi Georgiev Email address: georgi-georgiev-pgsql@japannext.co.jp PostgreSQL version: 9.2.2 Operating system: CentOS 6.3 Description:=20=20=20=20=20=20=20=20 The postgresql92 package would configure the postgresql92-libs libraries for system-wide use (using update-alternatives in the post-install scriptlet), but it does not run ldconfig, so the binaries cannot find their libraries. In short, "psql" is unusable. Steps to reproduce: Remove all postgresql libraries: $ sudo yum remove -y postgresql\* Install the PGDG 9.2 binaries $ sudo yum install -y postgresql92 Verify that the psql binary is not properly linked: $ ldd /usr/bin/psql | head -n2 linux-vdso.so.1 =3D> (0x00007fffb27ff000) libpq.so.5 =3D> not found The ld.so.conf.d update should probably be moved to the postgresql92-libs packages, as this would allow other packages that require libpq.so.5 to keep working (like php-pgsql and perl-DBD-Pg). --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs