pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: georgi-georgiev-pgsql@japannext.co.jp
To: pgsql-bugs@postgresql.org
Subject: BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries
Date: Tue, 22 Jan 2013 17:08:41 +0000
Message-ID: <E1TxhKz-0000Fl-KD@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:      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



view thread (2+ messages)  latest in thread

Message-ID: <E1TxhKz-0000Fl-KD@wrigleys.postgresql.org>
Permalink:  ../E1TxhKz-0000Fl-KD@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TxhKz-0000Fl-KD@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: georgi-georgiev-pgsql@japannext.co.jp
  Subject: Re: BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries
  In-Reply-To: <E1TxhKz-0000Fl-KD@wrigleys.postgresql.org>
  References: <E1TxhKz-0000Fl-KD@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