pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7822: PGDG packaged postgresql92 binaries do not find their libraries
2+ messages / 2 participants
[nested] [flat]
* BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries
@ 2013-01-22 17:08 georgi-georgiev-pgsql@japannext.co.jp
0 siblings, 1 reply; 2+ messages in thread
From: georgi-georgiev-pgsql@japannext.co.jp @ 2013-01-22 17:08 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7822
Logged by: Georgi Georgiev
Email address: georgi-georgiev-pgsql@japannext.co.jp
PostgreSQL version: 9.2.2
Operating system: CentOS 6.3
Description:
The postgresql92 package would configure the postgresql92-libs libraries for
system-wide use (using update-alternatives in the post-install scriptlet),
but it does not run ldconfig, so the binaries cannot find their libraries.
In short, "psql" is unusable.
Steps to reproduce:
Remove all postgresql libraries:
$ sudo yum remove -y postgresql\*
Install the PGDG 9.2 binaries
$ sudo yum install -y postgresql92
Verify that the psql binary is not properly linked:
$ ldd /usr/bin/psql | head -n2
linux-vdso.so.1 => (0x00007fffb27ff000)
libpq.so.5 => not found
The ld.so.conf.d update should probably be moved to the postgresql92-libs
packages, as this would allow other packages that require libpq.so.5 to keep
working (like php-pgsql and perl-DBD-Pg).
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries
@ 2013-01-23 20:00 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: georgi-georgiev-pgsql@japannext.co.jp
0 siblings, 0 replies; 2+ messages in thread
From: Devrim GÜNDÜZ @ 2013-01-23 20:00 UTC (permalink / raw)
To: georgi-georgiev-pgsql@japannext.co.jp; +Cc: pgsql-bugs
Hi,
On Tue, 2013-01-22 at 17:08 +0000, georgi-georgiev-pgsql@japannext.co.jp
wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7822
> Logged by: Georgi Georgiev
> Email address: georgi-georgiev-pgsql@japannext.co.jp
> PostgreSQL version: 9.2.2
> Operating system: CentOS 6.3
> Description:
>
> The postgresql92 package would configure the postgresql92-libs libraries for
> system-wide use (using update-alternatives in the post-install scriptlet),
> but it does not run ldconfig, so the binaries cannot find their libraries.
> In short, "psql" is unusable.
There is already an open bug for this:
http://wiki.pgrpms.org/ticket/82
the problem is the wrong place for the creating/removing alternatives
entries for the ld.so.conf file. I fixed it in my local copy, will
commit it in a few days.
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
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-01-23 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 17:08 BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries georgi-georgiev-pgsql@japannext.co.jp
2013-01-23 20:00 ` Devrim GÜNDÜZ <devrim@gunduz.org>
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