symbol lookup error: /usr/pgsql-9.1/bin/pg_ctl: undefined symbol: PQping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve Crawford reported in September 2011 at

http://archives.postgresql.org/pgsql-admin/2011-09/msg00101.php

on "a packaging/library issue that seems likely to bite anyone trying to do a parallel install of 9.0 and 9.1 from PGDG CentOS repo. Don't know if if affects any other packages."

I seem to have the same issue on RHEL 5. After installing the 9.1 package in parallel with the existing 9.0 version, I executed

sudo -u postgres /usr/pgsql-9.1/bin/pg_ctl start -w -D /var/lib/pgsql/9.1/data -l /var/lib/pgsql/9.1/start.log

and got

symbol lookup error: /usr/pgsql-9.1/bin/pg_ctl: undefined symbol: PQping

As Crawford reported, 9.1 was launched.

I applied his correction by renaming /etc/ld.so.conf.d/postgresql-9.0.1.conf, then executing ldconfig, then restoring the name of postgresql-9.0.1.conf, then stopping and starting postgres 9.1. This time the PQping error message did not appear.



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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux