Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3bhO-0006pA-QI for pgsql-bugs@arkaria.postgresql.org; Fri, 08 Feb 2013 00:20:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U3bhN-0007rJ-R2 for pgsql-bugs@arkaria.postgresql.org; Fri, 08 Feb 2013 00:20:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3XzR-0007Rl-Is for pgsql-bugs@postgresql.org; Thu, 07 Feb 2013 20:22:37 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3XzN-0008Cs-KH for pgsql-bugs@postgresql.org; Thu, 07 Feb 2013 20:22:36 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U3XzM-0007lL-KS for pgsql-bugs@postgresql.org; Thu, 07 Feb 2013 20:22:32 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1U3XzM-0005kK-18 for pgsql-bugs@postgresql.org; Thu, 07 Feb 2013 20:22:32 +0000 Date: Thu, 07 Feb 2013 20:22:32 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink To: pgsql-bugs@postgresql.org From: chris.meisinger@centro.net 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: 7857 Logged by: Chris Meisinger Email address: chris.meisinger@centro.net PostgreSQL version: 9.1.8 Operating system: CentOS 6.3 Description:=20=20=20=20=20=20=20=20 1. Provision a fresh machine (CentOS 6) 2. Perform a yum update of the core OS. 3. Install PGDG Rpm via 'curl -O http://yum.postgresql.org/9.1/redhat/rhel-6-i386/pgdg-centos91-9.1-4.noarch= .rpm' following the directions 4. 'yum -y install postgresql91 postgresql91-libs postgresql91-devel' 5. Note that running 'psql' via CLI generates the following error 'psql: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory' 6. Note that the appropriate symlinks are not being created in /etc/ld.so.conf.d/ as in the past for inclusion of /usr/pgsql-9.1/ into the default search path for libraries. Older Cent 5 installations have the symlinking as follows... in /etc/alternatives.... lrwxrwxrwx 1 root root 45 Jan 8 15:29 pgsql-ld-conf -> /usr/pgsql-9.1/share/postgresql-9.1-libs.conf with /etc/ld.so.conf.d/postgresql-pgdg-libs.conf being a symlink to /etc/alternatives/pgsql-ld-conf Creating the symlink manually and running 'ldconfig' will correct the issue. Only affects new/fresh installations. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs