[lug] Creating source rpm with tarball source

Zan Lynx zlynx at acm.org
Fri Sep 20 13:24:36 MDT 2002

On Fri, 2002-09-20 at 11:11, Justin-lists wrote:
> So I have made a source rpm from the new openssl source tarball using 'rpm -ts openssl-0.9.6g.tar.gz'. I did a --rebuild on the the src.rpm and got the new binary rpm's to install. I tried upgrading my current openssl (0.9.6-13) with the newly made rpm's and it fails with dependancy errors.
> [glowecon at oldschool i386]$ sudo rpm -Fvh openssl-*
> error: failed dependencies:
>         libcrypto.so.1   is needed by bind-utils-9.1.0-10
> Do I need to remove the redhat packaged openssl rpms before being able to use my own source built rpms? I'm afraid to remove ssl because it could potentially break other things. Any ideas?

What is going on is that these other packages depend on libcrypto.so.1. 
The version of openssh you are building creates libcrypto.so.2.  You
have a few choices...

You can install RedHat's openssl095a package.  Notice that the name is
different.  This package will not conflict with the openssl package, and
it provides libcrypto.so.1.

You can create your new package with a different name.  Openssl096, or
similar.  This leaves your old openssl library in place when you

You can install two packages of the same name.  This can sometime lead
to very strange upgrade problems, so be careful.  Instead of using rpm
-U to install it, just use rpm -i.
Jonathan Briggs
jbriggs at esoft.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20020920/ac9c960a/attachment.pgp>

More information about the LUG mailing list