BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries

Поиск
Список
Период
Сортировка
От georgi-georgiev-pgsql@japannext.co.jp
Тема BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries
Дата
Msg-id E1TxhKz-0000Fl-KD@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7822: PGDG packaged postgresql92 binaries do not find their libraries  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список 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 =3D>  (0x00007fffb27ff000)
        libpq.so.5 =3D> 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).

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: BUG #7814: Rotation of the log is not carried out.
Следующее
От: georgi-georgiev-pgsql@japannext.co.jp
Дата:
Сообщение: BUG #7823: PGDG packaged pgadmin3_92 removes its /usr/bin/pgadmin3 link