The [FONT=Courier New]libopenssl1-1.0.1g-0.16.1.rpm[/FONT] package installs into [FONT=Courier New]/usr/lib64[/FONT] so you end up with both the old and newer versions of OpenSSL. The RPM is not relocatable, so I cannot simply change the install prefix.
This is fine, but I’d like to have 1.0.1g in a completely different location. I grabbed the source RPM hoping I could build 1.0.1g and have it install in another directory, but I’m not having much luck. I’ve tried things like this:
This results in RPM build errors. What is the proper way of rebuilding this source RPM so that the installation RPMs can be installed in a different directory?
Hi
Use the Open Build Service to upload your sources and modify the spec
file, else install the src rpm and modify the spec file down
in /usr/src/packages (note install src rpm as root, but all your
modifying and building as your user).
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Malcolm, thanks. While trying to resolve this I did end up editing the openssl1.spec file, but was hoping to avoid having to do this for the sake of maintainability.
What that accomplished is hunting for and changing lines to take care of package build errors that appear.
For the sake of clarity, this is an example of what I’m trying to do …
On 10/07/2014 18:04, shawn protsman wrote:
[color=blue]
The libopenssl1-1.0.1g-0.16.1.rpm package installs into /usr/lib64 so
you end up with both the old and newer versions of OpenSSL. The RPM is
not relocatable, so I cannot simply change the install prefix.[/color]
Since you have posted in a forum for SUSE Linux Enterprise Server (SLES)
which version of SLES are you using?
As I’m not aware of a packaged version of OpenSSL 1.0.x available from
SUSE for SLES I suspect that you’re actually using a version of openSUSE
in which case you should instead post @ https://forums.opensuse.org/
HTH.
Simon
SUSE Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.