pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chris.meisinger@centro.net
To: pgsql-bugs@postgresql.org
Subject: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink
Date: Thu, 07 Feb 2013 20:22:32 +0000
Message-ID: <E1U3XzM-0005kK-18@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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:        

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.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <E1U3XzM-0005kK-18@wrigleys.postgresql.org>
Permalink:  ../E1U3XzM-0005kK-18@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1U3XzM-0005kK-18@wrigleys.postgresql.org

 · 

reply

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-bugs@postgresql.org
  Cc: chris.meisinger@centro.net
  Subject: Re: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink
  In-Reply-To: <E1U3XzM-0005kK-18@wrigleys.postgresql.org>
  References: <E1U3XzM-0005kK-18@wrigleys.postgresql.org>

* 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