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

2013-02-08 Thread Devrim GÜNDÜZ

Hi,

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

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


signature.asc
Description: This is a digitally signed message part


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

2013-02-08 Thread hajek
The following bug has been logged on the website:

Bug reference:  7859
Logged by:  Tomas Hajek
Email address:  ha...@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.



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


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

2013-02-08 Thread Devrim GÜNDÜZ

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 +, ha...@oakland.edu wrote:
> The following bug has been logged on the website:
> 
> Bug reference:  7859
> Logged by:  Tomas Hajek
> Email address:  ha...@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


signature.asc
Description: This is a digitally signed message part


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

2013-02-08 Thread Devrim GÜNDÜZ

Hi,

Thanks again for the report. I committed changes. Packages will appear
in less than 4 hours.

Regards, Devrim

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


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


signature.asc
Description: This is a digitally signed message part


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

2013-02-08 Thread Chris Meisinger
Devrim, 

Thanks for the super fast fix!


Chris

On Feb 8, 2013, at 5:56 PM, Devrim GÜNDÜZ  wrote:

> 
> Hi,
> 
> Thanks again for the report. I committed changes. Packages will appear
> in less than 4 hours.
> 
> Regards, Devrim
> 
> On Thu, 2013-02-07 at 20:22 +, chris.meisin...@centro.net wrote:
>> The following bug has been logged on the website:
>> 
>> Bug reference:  7857
>> Logged by:  Chris Meisinger
>> Email address:  chris.meisin...@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.
>> 
>> 
>> 
> 
> 
> -- 
> 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



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