Thread: Linux 7.1 dependency problems

Linux 7.1 dependency problems

From
RFLM101@aol.com
Date:
Hi all,

I'm trying to install Postgres 7.2.1-5 RPM onto my linux 7.1 system. Accordingly, I seem to need three files...

libcrypto.so.2
libreadline.so.4
libssl.so.2

How can I obtain these files??  I've tried the Postgres libs RPM, but it doesn't contain them.

Thanks in advance
Rick

Re: Linux 7.1 dependency problems

From
Christopher Murtagh
Date:
On Fri, 5 Jul 2002 RFLM101@aol.com wrote:
>I'm trying to install Postgres 7.2.1-5 RPM onto my linux 7.1 system.

 You mean RedHat 7.1?

>Accordingly, I seem to need three files...
>
>libcrypto.so.2
>libreadline.so.4
>libssl.so.2

You should install the following RPMs:

 readline
 readline-devel
 openssl
 openssl-devel

 (devel's might not be necessary).

Cheers,

Chris


--

Christopher Murtagh
Webmaster / Sysadmin
Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017





Re: Linux 7.1 dependency problems

From
Christoph Dalitz
Date:
On Mon, 08 Jul 2002 10:29:20 -0400
pgsql-general-owner@postgresql.org wrote:
>
> Subject: Linux 7.1 dependency problems
>
> I'm trying to install Postgres 7.2.1-5 RPM onto my linux 7.1 system.
>
You probably mean SuSE 7.1 or RedHat 7.1.

> Accordingly, I seem to need three files...
>
> libcrypto.so.2
> libreadline.so.4
> libssl.so.2
>
> How can I obtain these files??
>
These are in different RPM-packages. The name of these depends on the
vendor (RedHat, SuSE, Mandrake...).

On SuSE you can try to search within yast for something appropriate.
RedHat certainly has a similar tool. The handbook shipped with the
operating system should describe how the RPM that contains a given
file is figured out.

Christoph Dalitz



Re: Linux 7.1 dependency problems

From
Ericson Smith
Date:
You will need to install the openssl library RPMS (including the devel
RPMS as well).

Grab these at ftp.redhat.com

- Ericson Smith
eric@did-it.com

On Fri, 2002-07-05 at 08:58, RFLM101@aol.com wrote:
> Hi all,
>
> I'm trying to install Postgres 7.2.1-5 RPM onto my linux 7.1 system.
> Accordingly, I seem to need three files...
>
> libcrypto.so.2
> libreadline.so.4
> libssl.so.2
>
> How can I obtain these files??  I've tried the Postgres libs RPM, but it
> doesn't contain them.
>
> Thanks in advance
> Rick





Re: Linux 7.1 dependency problems

From
Devrim GUNDUZ
Date:
Hi,

On Fri, 5 Jul 2002 RFLM101@aol.com wrote:

> I'm trying to install Postgres 7.2.1-5 RPM onto my linux 7.1 system.
> Accordingly, I seem to need three files...
>
> libcrypto.so.2
> libreadline.so.4
> libssl.so.2
>
> How can I obtain these files??  I've tried the Postgres libs RPM, but it
> doesn't contain them.

There is an answer to this post previously. I just want to add something:

If you are looking for a particular library, etc, visit rpmfind.net, and
enter each of the following to the input box. You'll get the package name
which provides that library,etc.

Best regards.

--

Devrim GUNDUZ

devrim@oper.metu.edu.tr
devrim.gunduz@linux.org.tr

Web : http://devrim.oper.metu.edu.tr
-------------------------------------






Re: Linux 7.1 dependency problems

From
Lamar Owen
Date:
On Friday 05 July 2002 08:58 am, RFLM101@aol.com wrote:
> I'm trying to install Postgres 7.2.1-5 RPM onto my linux 7.1 system.
> Accordingly, I seem to need three files...

> libcrypto.so.2
> libreadline.so.4
> libssl.so.2

> How can I obtain these files??  I've tried the Postgres libs RPM, but it
> doesn't contain them.

The RPM above referenced is from a Red Hat release later than 7.1 (7.3, in
particular).  Red Hat 7.3 inlcudes updates for the readline and ssl packages,
which this RPM wants.  Either rebuild the RPM from the source RPM or upgrade
to Red Hat 7.3.  Otherwise you might rapidly descend into 'dependency hell'
that will basically be a manual upgrade to Red Hat 7.3.  Just much less fun.

Rebuilding from the source RPM is documented in the RPMset itself -- as part
of the source RPM it is README.rpm-dist, which after a rpm -i of the source
RPM will be in /usr/src/redhat/SOURCES (for a Red Hat system, of course).
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

Re: Linux 7.1 dependency problems

From
Lamar Owen
Date:
On Monday 08 July 2002 09:46 pm, Ericson Smith wrote:
> You will need to install the openssl library RPMS (including the devel
> RPMS as well).

Ok, whoa just a minute.

Red Hat 7.1 includes a set of OpenSSL RPMS.  Due to potential binary
compatibility difficulties between the version of OpenSSL distributed with
Red Hat 7.1 and the current version of OpenSSL, upgrading from the one to the
newer is NOT recommended.  It is possible for both to cooexist -- at least,
they can on a Red Hat >7.1.  But upgrading (which removes the old OpenSSL)
will BREAK packages that are already installed on the system.

The recommendation is to rebuild PostgreSQL from source RPM, or upgrade to Red
Hat 7.3 so that all the dependencies are properly satisfied.  Otherwise other
programs on the system may break.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

Re: Linux 7.1 dependency problems

From
tony
Date:
On Tue, 2002-07-09 at 20:05, Lamar Owen wrote:
> On Monday 08 July 2002 09:46 pm, Ericson Smith wrote:
> > You will need to install the openssl library RPMS (including the devel
> > RPMS as well).
>
> Ok, whoa just a minute.
>
> Red Hat 7.1 includes a set of OpenSSL RPMS.  Due to potential binary
> compatibility difficulties between the version of OpenSSL distributed with
> Red Hat 7.1 and the current version of OpenSSL, upgrading from the one to the
> newer is NOT recommended.  It is possible for both to cooexist -- at least,
> they can on a Red Hat >7.1.  But upgrading (which removes the old OpenSSL)
> will BREAK packages that are already installed on the system.

Use the rpms from support/errata. They have the same version number as
the rpms that were installed with RH 7.1 but have been backpatched to
correct the current exploits (or at least the 7.2 ones have)

Cheers

Tony Grant
--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


Re: Linux 7.1 dependency problems

From
Lamar Owen
Date:
On Tuesday 09 July 2002 02:15 pm, tony wrote:
> Use the rpms from support/errata. They have the same version number as
> the rpms that were installed with RH 7.1 but have been backpatched to
> correct the current exploits (or at least the 7.2 ones have)

But the version number and binary interface is different between the versions
from Red Hat 7.1 to Red Hat 7.3.  That's why you get dependency errors -- the
version from 7.3 wants libssl of a newer version than the libssl of Red Hat
7.1.

IIRC, 7.1 shipped with OpenSSL 0.9.5a, and 7.3 shipped 0.9.6b.  Those two are
quite a bit different -- different enough so that Red Hat 7.3 includes the
0.9.5 RPMs as part of its install, and installs them in parallel with the
0.9.6b set.

Library versioning in upstream packages is a major headache for
distributors/packagers.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11