OPENSSL UPGRADATION IN SLED 12

Current I an using SLED 12 which comes with openssl1.0.1c.But I am working on a specific project which requires openssl 1.0.1e.I have source for openssl 1.0.1e downloaded from openssl website.But once I build and install openssl 1.0.1e when Ii check installed version I am getting only 1.0.c It is not upgrading properly so I tried uninstalling it using yast but since it contains lot of dependency I was not able to uninstall.How can I upgrade openssl 1.0.1c to 1.0.1e please provide some solution:(???

If you need newer libraries for a particular application, I would probably
build the code but NOT install it to avoid conflicts with the rest of the
system (tons of things use OpenSSL libraries if not esecutables) and then
modify the startup of specific applications to use the libraries from a
given directory (LD_LIBRARY_PATH is the environment variable to do this).
Would that work? It would help to know more about your application,
requirements, overall business goals, etc.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Can you please elaborate how to do this installation step by step if possible which will be useful for my project?

On 09/21/2015 11:24 PM, alagirib92 wrote:[color=blue]

Can you please elaborate how to do this installation step by step if
possible which will be useful for my project?[/color]

Not without knowing what you are doing, why, with which programs, and with
what experience you possess.

There are lots of documents online about modifying environment variables
like PATH and LD_LIBRARY_PATH that are the heart of the proposed solution,
so if you are familiar with those perhaps the idea becomes obvious.
Lacking that understanding, the basic idea is that you can keep your
system in its default/supported state, but you can install
programs/libraries anywhere outside of those normal places, and then have
calls to load programs reference those alternative versions of the software.

A “program” like openssl is nothing more than files, and the files are
found by things requiring them because there is a specific order used to
find them which is maintained by the system, and so a program usually
finds the system-installed/maintained versions. You can override those
trivially, though, so as long as dependencies are met you can have any
number of programs with differing requirements on the same system working
independently with different requirements.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Thanks for your reply.Can you please give me link regarding this if possible?.I have only 6 months of experience in LINUX…

Google/Search for it by LD_LIBRARY_PATH, or provide more details here and
maybe we can help.

http://wiredrevolution.com/system-administration/how-to-correctly-use-ld_library_path

http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…