Thread: RPM problem

RPM problem

From
John Coers
Date:
Hi,

Trying to install onto a linux box with an rpm.

libpq.so.2 and libpq.so.2.0 both are in /usr/lib which is in my LD_LIBRARY_PATH
so I can't understand the problem:

[coers@antibes postgresql-7.1-RH6x-i386]$ sudo rpm -U *.rpm
error: failed dependencies:
        libpq.so.2 is needed by postgresql-7.1-1
        libpq.so.2 is needed by postgresql-7.1-1
        libpq.so.2.0 is needed by php-pgsql-3.0.15-2

--
John Coers            Intrinsity, Inc.
coers@intrinsity.com  Austin, Texas

Re: RPM problem

From
Lamar Owen
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 11 May 2001 12:11, John Coers wrote:
> libpq.so.2 and libpq.so.2.0 both are in /usr/lib which is in my
> LD_LIBRARY_PATH so I can't understand the problem:

> [coers@antibes postgresql-7.1-RH6x-i386]$ sudo rpm -U *.rpm
> error: failed dependencies:
>         libpq.so.2 is needed by postgresql-7.1-1
>         libpq.so.2 is needed by postgresql-7.1-1
>         libpq.so.2.0 is needed by php-pgsql-3.0.15-2

Run 'rpm -qf /usr/lib/libpq.so.2' please.  My gut feel is that you didn't
grab the postgresql-libs package, and that the libpq.so.2 you have are from
the previous postgresql install, which the rpm -U is going to remove.

Be sure to do a dump before upgrading!
- --
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6/00L5kGGI8vV9eERAirhAJ9dA+Q8jiARrd2vho7GNH2r8Znu/wCcCfXn
Us3uA1F2AXfYLOZLart6hWU=
=WgQr
-----END PGP SIGNATURE-----