RE: [SLUG] Openssh, still-- is everyone still asleep here?

From: Kwan Lowe (kwan@digitalhermit.com)
Date: Fri Feb 28 2003 - 12:52:13 EST


On Fri, 2003-02-28 at 11:13, Rock wrote:
> I am totally ignorant about rebuilding an rpm. I know how to install
> and remove and upgrade. How and what will a rebuild do for me.
>
> I am trying to upgrade openssh to a later version and I keep getting
> message that libcrypto.so.2 is needed. That is available in the
> openssl-0.9.6b-8 rpm. Only when I try to install that it complains that
> there are conflicts with the installed openssl package. So,,, I copied
> the lib file libcrypto.so.0.9.6b to my other Linux box and linked it to
> libcrypto.so.2. When I rpm my openssh files it still says it needs
> libcrypto.so.2. it fails to see the file when I try the rpm again. I
> have done the /sbin/ldconfig. All my permissions and ownerships are the
> same as with libcrypt.so.1.
>
> I feel like I am between a rock and a hard place. No pun intended.
>
> This is on a RH 7.1 box. And no I cannot upgrade the version because of
> some software that only runs on 7.1 at this time.

You don't have to upgrade the Linux version, just the openssl library.
It looks like the program you're trying to run now requires an updated
version of libcrypto (part of openssl).

Rebuilding is pretty simple:
Grab the source rpm for the openssl package.
>From a command prompt:
  rpm --rebuild openssl-VERSION-src.rpm
  
The final packages will be available in /usr/src/redhat/RPMS/i386/

However, looking at your post suggests something else entirely. When you
tried installing openssl-0.9.6b, did you do:
  rpm -ivh openssl-i386.rpm

   or
  rpm -Uvh openssl-i386.rpm

The latter is the correct for *upgrading* a package. If you use the -ivh
option it will try to install but see that an existing package already
owns the files in question.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:58:57 EDT