[CentOS] Install OpenSSL 1.1.1 on CentOS Linux release 7.9.2009 (Core).

Sat Nov 13 19:17:04 UTC 2021
Gordon Messmer <gordon.messmer at gmail.com>

On 11/13/21 09:02, Jonathan Billings wrote:
> While you might be able to compile the software with those flags,
> you'll not be able to run anything with libraries out of the standard
> search path.  And you don't want to add this openssl to the standard
> search path, because it will break packaged software.


The openssl11 packages have to put the static libs and headers in an 
alternate location in order to be parallel-installable with the standard 
package, so you need to specify a header and library path when 
compiling.  However, the *runtime* lib has a different soname, so that 
*is* in the standard search path:

https://src.fedoraproject.org/rpms/openssl11/blob/epel7/f/openssl11.spec#_474

So, you will be able to run the resulting binary without any further 
changes, and there's no risk of breaking packaged software.