yum repository packages 9.0 and 9.1 libpq conflict

From: John R Pierce <pierce(at)hogranch(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: yum repository packages 9.0 and 9.1 libpq conflict
Date: 2012-03-15 04:54:53
Message-ID: 4F61761D.5030400@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

this is probably mostly for Devrim, since he's the packager of the RPM
repository....

So I have a CentOS 6.2 x86_64 system that was running postgres 9.0 from
Devrim's yum repo... I installed 9.1 and was going to do a parallel
upgrade, but the entry for 9.0 in
/etc/ld.so.conf.d/postgresql-9.0-libs.conf was causing
/usr/pgsql-9.1/bin/psql to load the wrong libpq,
/usr/pgsql-9.0/lib/libpq.so.5 which was triggering the error...

psql: invalid connection option "client_encoding"

I'm not sure how exactly this is supposed to work with two parallel
versions installed. ld.so can't exactly sort out two libpq.so.5's ..
I would have expected the 9.1 stuff to be -R path linked with the
correct /usr/pgsql-9.1/lib stuff, and not to have ANY entries in
/etc/ld.so.conf.d ...

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2012-03-15 04:57:55 Re: A 154 GB table swelled to 527 GB on the Slony slave. How to compact it?
Previous Message Mark Phillips 2012-03-15 04:52:48 Re: copy in date string "00-00-00 00:00:00"