Re: yum repository packages 9.0 and 9.1 libpq conflict

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: yum repository packages 9.0 and 9.1 libpq conflict
Date: 2012-03-15 14:27:09
Message-ID: 19795.1331821629@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John R Pierce <pierce(at)hogranch(dot)com> writes:
> CONFIGURE = '--disable-rpath' '--prefix=/usr/pgsql-9.1' .....
> muh oh. why is that?!?

It's distro policy on all Red Hat-based systems (and probably others as
well) not to use rpath; you're supposed to use ldconfig instead. It's
thus totally unsurprising that removing a package's /etc/ld.so.conf.d
file breaks it.

However, it's not clear to me that this policy can support multiple
packages expecting to install different libraries with the same soname
and major version. I'm not enough of a packaging weenie to know if
there's a standard workaround for that. Devrim might have to resort to
something like shipping the latest (9.1.x) version of libpq.so in all of
his packages.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-03-15 14:52:40 Re: Fetch from cursor with indexed sorting
Previous Message Scott Marlowe 2012-03-15 14:25:15 Re: Backups