Re: libpq version in rpm packages

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Brian Mathis <brian(dot)mathis(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: libpq version in rpm packages
Date: 2005-11-09 18:12:31
Message-ID: 43723C0F.5050502@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brian Mathis wrote:
> I just set up a new server and would like to use rpms to manage the
> software on this one. I've done the compile from source thing most of
> the time, but over time it seems to get messy.
>
> I'm using CentOS 4.2, which only has packages for postgres 7.4, but I
> very much want to use 8.1. I installed the 8.1 RPMs, but when I try
> to install packages like perl-DBD-Pg, or php-pgsql, rpm complains
> because they want libpq.so.3, and postgres 8.1 comes with libpq.so.4.
>
> Does anyone have a workaround for this? I've thought about forcing
> the rpms to install, or even installing the postgres libs from 7.4.

I did a rpmbuild --rebuld of those two packages (perl and php) after I
installed 8.1. This worked OK, but I can't run a nightly yum update
because it complains that it can't install the update for the php package.

Is there some type of compat rpm that we can install so that these
packages will find the required version of libpq?

Matt

In response to

Browse pgsql-general by date

  From Date Subject
Next Message TJ O'Donnell 2005-11-09 18:18:35 using new bitmap scans to index bit columns?
Previous Message Bob Pawley 2005-11-09 18:06:06 Where Statement