Обсуждение: Installation problems RH5 PostgreSQL 8.3.1

Поиск
Список
Период
Сортировка

Installation problems RH5 PostgreSQL 8.3.1

От
"Cliff Pratt"
Дата:
I'm trying to install PostgreSQL and the PostgreSQL libs on RHEL5
using rpms. I'm getting dependency problems:

>>>>># rpm --test -ivh postgresql-8.3.1-1PGDG.rhel4.x86_64.rpm postgresql-libs-8.3.1-1PGDG.rhel4.x86_64.rpm
warning: postgresql-8.3.1-1PGDG.rhel4.x86_64.rpm: Header V3 DSA
signature: NOKEY, key ID 442df0f8
error: Failed dependencies:
        libcrypto.so.4()(64bit) is needed by postgresql-8.3.1-1PGDG.rhel4.x86_64
        libreadline.so.4()(64bit) is needed by
postgresql-8.3.1-1PGDG.rhel4.x86_64
        libssl.so.4()(64bit) is needed by postgresql-8.3.1-1PGDG.rhel4.x86_64
        libcrypto.so.4()(64bit) is needed by
postgresql-libs-8.3.1-1PGDG.rhel4.x86_64
        libssl.so.4()(64bit) is needed by
postgresql-libs-8.3.1-1PGDG.rhel4.x86_64

I don't understand the dependency on the so.4 libraries, since on
another server the 8.3.1 packages apparently use the so.6 libraries:

>>># ldd /usr/bin/postmaster
        libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x0000003ceb400000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x0000003cf0c00000)
        libpam.so.0 => /lib64/libpam.so.0 (0x0000003cef800000)
        libssl.so.6 => /lib64/libssl.so.6 (0x0000003cf0000000)
        libcrypto.so.6 => /lib64/libcrypto.so.6 (0x0000003cedc00000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x0000003ceec00000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003cec400000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003cea000000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003cea800000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003ce9c00000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x0000003cef000000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003ced000000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003ceb800000)
        libaudit.so.0 => /lib64/libaudit.so.0 (0x0000003ced400000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x0000003cee400000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x0000003cee800000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003cef400000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003cecc00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003ce9800000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003ceac00000)
        libsepol.so.1 => /lib64/libsepol.so.1 (0x0000003ceb000000)

The so.4 libraries don't exist on either system!

Any help would be appreciated.

Cheers,

Cliff

Re: Installation problems RH5 PostgreSQL 8.3.1

От
Tom Lane
Дата:
"Cliff Pratt" <enkiduonthenet@gmail.com> writes:
> I'm trying to install PostgreSQL and the PostgreSQL libs on RHEL5
> using rpms. I'm getting dependency problems:

> # rpm --test -ivh postgresql-8.3.1-1PGDG.rhel4.x86_64.rpm postgresql-libs-8.3.1-1PGDG.rhel4.x86_64.rpm

[ squint... ]  It looks to me like you're trying to install RPMs built
for RHEL4 on RHEL5.  Get the correct RPMs.

            regards, tom lane