Thread: BUG #7859: postgresql92-libs fails to create ld.so.conf.d symlink

BUG #7859: postgresql92-libs fails to create ld.so.conf.d symlink

From
hajek@oakland.edu
Date:
The following bug has been logged on the website:

Bug reference:      7859
Logged by:          Tomas Hajek
Email address:      hajek@oakland.edu
PostgreSQL version: 9.2.3
Operating system:   Red Hat Enterprise Linux Server release 6.3
Description:        =


1. Fresh install of RHEL 6.3 x86_64
2. yum update
3. postgresql repo with:
wget
http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-redhat92-9.2-7.noar=
ch.rpm
sudo yum install pgdg-redhat92-9.2-7.noarch.rpm

4. yum install postgresql92-server postgresql92-libs postgresql92-contrib
postgresql92

5. Initialize the database with:
sudo -u postgres -H /usr/pgsql-9.2/bin/initdb -D /var/lib/pgsql/9.2/data

6. #Start the database server
sudo service postgresql-9.2 start

7. sudo -u postgres -H psql =

results in "psql: error while loading shared libraries: libpq.so.5: cannot
open shared object file: No such file or directory"

8. Checking /etc/ld.so.conf.d shows that no postgresql-pgdg-libs.conf
symlink present.

Similar procedure worked a week ago against 9.2.2.

I assume this is similar in nature to bug #7857.

Re: BUG #7859: postgresql92-libs fails to create ld.so.conf.d symlink

From
Devrim GÜNDÜZ
Date:
Hi,

Thanks for the report. Fixed in 9.2.3-2. Packages just hit repository.

Regards, Devrim
On Fri, 2013-02-08 at 20:50 +0000, hajek@oakland.edu wrote:
> The following bug has been logged on the website:
>
> Bug reference:      7859
> Logged by:          Tomas Hajek
> Email address:      hajek@oakland.edu
> PostgreSQL version: 9.2.3
> Operating system:   Red Hat Enterprise Linux Server release 6.3
> Description:
>
> 1. Fresh install of RHEL 6.3 x86_64
> 2. yum update
> 3. postgresql repo with:
> wget
> http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-redhat92-9.2-7.noarch.rpm
> sudo yum install pgdg-redhat92-9.2-7.noarch.rpm
>
> 4. yum install postgresql92-server postgresql92-libs postgresql92-contrib
> postgresql92
>
> 5. Initialize the database with:
> sudo -u postgres -H /usr/pgsql-9.2/bin/initdb -D /var/lib/pgsql/9.2/data
>
> 6. #Start the database server
> sudo service postgresql-9.2 start
>
> 7. sudo -u postgres -H psql
> results in "psql: error while loading shared libraries: libpq.so.5: cannot
> open shared object file: No such file or directory"
>
> 8. Checking /etc/ld.so.conf.d shows that no postgresql-pgdg-libs.conf
> symlink present.
>
> Similar procedure worked a week ago against 9.2.2.
>
> I assume this is similar in nature to bug #7857.
>
>
>


--
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