Re: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: chris(dot)meisinger(at)centro(dot)net
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink
Date: 2013-02-08 09:57:35
Message-ID: 1360317455.15367.17.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Hi,

On Thu, 2013-02-07 at 20:22 +0000, chris(dot)meisinger(at)centro(dot)net wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7857
> Logged by: Chris Meisinger
> Email address: chris(dot)meisinger(at)centro(dot)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'

Looks like I broke the fresh installs in new series, as you mentioned.
Until then, running

/usr/sbin/update-alternatives
--install /etc/ld.so.conf.d/postgresql-pgdg-libs.conf
pgsql-ld-conf /usr/pgsql-9.1/share/postgresql-9.1-libs.conf 910
/sbin/ldconfig

will fix the issue for 9.1. I will push the updated packages later
tonight. Sorry for the trouble.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message hajek 2013-02-08 20:50:47 BUG #7859: postgresql92-libs fails to create ld.so.conf.d symlink
Previous Message jackie.qq.zhang 2013-02-08 06:46:29 BUG #7858: Inaccurate Log Message