On 2011/09/15, at 20:25, Erling Ringen Elvsrud<[email protected]> wrote:Hello, I need to rebuild OpenSSL with the "enable-cms" option. I have sucessfully altered openssl.spec to include "enable-cms" when the package is built. I rebuild the package with "rpmbuild -bb SPECS/openssl.spec", the package builds correctly. Then I want to replace the aldredy installed openssl-package in order to use the rebuilt one like this: [root@XXXXXXXX x86_64]# rpm -ivh --replacepkgs openssl-0.9.8e-20.x86_64.rpm Preparing... ########################################### [100%] package openssl-0.9.8e-20.el5.x86_64 (which is newer than openssl-0.9.8e-20.x86_64) is already installed
[root@XXXXXXX x86_64]# rpm -qf /usr/share/man/man1/asn1parse.1ssl.gz --queryformat "%{NAME}%{VERSION}%{RELEASE}_%{ARCH}\n" openssl0.9.8e20.el5_x86_64 openssl0.9.8e20.el5_i686
You only built the x86_64 package, openssl is built for both 32-bit and 64-bit. So, you need to have the i686 package as well before you do the update/replacement. If nothing you are using needs the 32-bit openssl, you can just remove it. However, I'd be surprised if there isn't something out there still using it.
Hugh _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
