Re: [HACKERS] Re:RPM dependencies (Was: 7.0 vs. 7.1 (was: latest version?))

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Trond Eivind Glomsrød <teg(at)redhat(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-ports(at)postgresql(dot)org
Subject: Re: [HACKERS] Re:RPM dependencies (Was: 7.0 vs. 7.1 (was: latest version?))
Date: 2000-10-27 22:15:40
Message-ID: 200010272215.SAA18327@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-ports

> And unfortunately PHP and other PostgreSQL clients also link against the
> specific libpq version. This has caused pain for those installing the
> PHP stuff from RPM which was linked against a RedHat 6.2 box with
> PostgreSQL 6.5.3 installed -- onto a RedHat 6.2 box with PostgreSQL
> 7.0.2 installed. There is a failed dependency on libpq.so.2.0 -- even
> though libpq.so.2.1 is there.
>
> A symlink works around the problem, if the symlink is part of the RPM so
> that it gets in the rpm dep database. Of course, this only causes
> problems with RedHat 6.2 and earlier, as RH 7's PHP stuff was built
> against 7.0.2 to start with. But, 7.1 with libpq.so.2.2 will cause
> similar dep failures for PHP packages built against 7.0.2.

For us, it would be great if libpq.so.2.1 linked against the
libpq.so.2.1, libpq.so.2.2, but not libpq.so.2.0. I would guess other
apps need this ability too. How do they handle it?

I saw someone installing pgaccess from RPM. It wanted tcl/tk 8.0, and
they had tcl/tk 8.3 installed, and it failed. Seems this is a common
RPM problem.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nguyen , Nguyen 2000-10-27 22:25:35 a simple trigger?
Previous Message Isaac 2000-10-27 22:08:33 newbie question: ERROR: getattproperties: no attribute tuple 1259 -2

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2000-10-27 22:24:06 Re: Summary: what to do about INET/CIDR
Previous Message Bruce Momjian 2000-10-27 22:12:03 Re: Idea: cross-check versions during initdb]

Browse pgsql-ports by date

  From Date Subject
Next Message Lamar Owen 2000-10-27 22:25:41 Re: Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)
Previous Message Bruce Momjian 2000-10-27 22:06:22 Re: Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)