[BUGS] BUG #7823: PGDG packaged pgadmin3_92 removes its /usr/bin/pgadmin3 link

2013-01-22 Thread georgi-georgiev-pgsql
The following bug has been logged on the website:

Bug reference:  7823
Logged by:  Georgi Georgiev
Email address:  georgi-georgiev-pg...@japannext.co.jp
PostgreSQL version: 9.2.2
Operating system:   CentOS 6.3
Description:

Updating pgadmin3_92 removes the /usr/bin/pgadmin3 symlink. There is also a
harmless warning from the post-install scriptlet when it tries to create
that symlink and it is already there (happens on an update).


Running Transaction
  Updating   : pgadmin3_92-1.16.1-1.rhel6.x86_64
1/2 
Non-fatal POSTIN scriptlet failure in rpm package
pgadmin3_92-1.16.1-1.rhel6.x86_64
ln: creating symbolic link `/usr/bin/pgadmin3': File exists
warning: %post(pgadmin3_92-1.16.1-1.rhel6.x86_64) scriptlet failed, exit
status 1
  Cleanup: pgadmin3_92-1.16.0-1.rhel6.x86_64
2/2 



And after this /usr/bin/pgadmin3 is gone.



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


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

2013-01-22 Thread georgi-georgiev-pgsql
The following bug has been logged on the website:

Bug reference:  7822
Logged by:  Georgi Georgiev
Email address:  georgi-georgiev-pg...@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 =>  (0x7fffb27ff000)
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