Thread: problems installing postgresql 7.4.2-1

problems installing postgresql 7.4.2-1

From
"Pradeepkumar, Pyatalo (IE10)"
Date:
Hi all,

I am trying to upgrade from version 7.1.3-2 to 7.4.2-1.
I have uninstalled the previous version. I am using RedHat Linux 8.0

when i run the command

$rpm -ivh postgresql-libs-7.4.2-1.i386.rpm
warining: postgresql-libs-7.4.2-1.i386.rmp: V3 DSA signature: NOKEY, key ID
30c9ecf8
error: Failed dependencies:
    libcrypto.so.4 is needed by postgresql-libs-7.4.2-1
    libssl.so.4 is needed by postgresql-devel-7.4.2-1

I am getting the above error. Can anyone please tell me what could be the
problem.

Thanks in advance.

> With Best Regards
> Pradeep Kumar P J
>
>
>

Re: problems installing postgresql 7.4.2-1

From
"Scott Marlowe"
Date:
On Sat, 2004-07-10 at 01:01, Pradeepkumar, Pyatalo (IE10) wrote:
> Hi all,
>
> I am trying to upgrade from version 7.1.3-2 to 7.4.2-1.
> I have uninstalled the previous version. I am using RedHat Linux 8.0
>
> when i run the command
>
> $rpm -ivh postgresql-libs-7.4.2-1.i386.rpm
> warining: postgresql-libs-7.4.2-1.i386.rmp: V3 DSA signature: NOKEY, key ID
> 30c9ecf8
> error: Failed dependencies:
>     libcrypto.so.4 is needed by postgresql-libs-7.4.2-1
>     libssl.so.4 is needed by postgresql-devel-7.4.2-1
>
> I am getting the above error. Can anyone please tell me what could be the
> problem.

It means you need a newer version of the RPMs that contain those libs.

First, locate the libs:

locate libcrypto.so
locate libssl.so

Then, find out what package their in:

rpm -qf /usr/lib/libcrypto.so
openssl-devel-0.9.7a-35
rpm -qf /usr/lib/libssl.so
openssl-devel-0.9.7a-35

So you need to upgrade your openssl-devel package.


Re: problems installing postgresql 7.4.2-1

From
Tom Lane
Date:
"Scott Marlowe" <smarlowe@qwest.net> writes:
> On Sat, 2004-07-10 at 01:01, Pradeepkumar, Pyatalo (IE10) wrote:
>> $rpm -ivh postgresql-libs-7.4.2-1.i386.rpm
>> warining: postgresql-libs-7.4.2-1.i386.rmp: V3 DSA signature: NOKEY, key ID
>> 30c9ecf8
>> error: Failed dependencies:
>> libcrypto.so.4 is needed by postgresql-libs-7.4.2-1
>> libssl.so.4 is needed by postgresql-devel-7.4.2-1

> So you need to upgrade your openssl-devel package.

I'm not sure that there is any sufficiently new openssl binary RPM for
Red Hat 8.0; that's a rather ancient distribution.  It would be easier
to use a Postgres RPM that's intended for RHL 8.0.  I'm not sure if
anyone built any this time around, though.  Building one for yourself
from the Postgres source RPM would be the surest way to get a compatible
binary RPM.  See "rpmbuild --rebuild".

            regards, tom lane