[openssl-users] Building openssl-1.1.1

Viktor Dukhovni openssl-users at dukhovni.org
Mon Sep 17 12:21:29 UTC 2018

> On Sep 17, 2018, at 1:30 AM, Billy Brumley <bbrumley at gmail.com> wrote:
>> openssl version
>> openssl: /usr/lib/x86_64-linux-gnu/libssl.so.1.1: version
>> `OPENSSL_1_1_1' not found (required by openssl)
>> openssl: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: version
>> `OPENSSL_1_1_1' not found (required by openssl)
> Sounds like a loader issue.

No, rather this user built the library with "--prefix /usr", but
/usr/lib already contains an OpenSSL 1.1.0 library.  Which does
not have the 1.1.1 symbol versions.

> Try "which openssl" then "ldd /path/to/openssl"
> I dunno what current recommendation is, but I normally use RPATH:
> https://wiki.openssl.org/index.php/Compilation_and_Installation#Using_RPATHs

To deploy a second library, it needs to go somewhere else (/usr/local,
/opt/openssl, ...), and then indeed one also needs RPATH so that the
executable and libssl know where to find their dependencies.


More information about the openssl-users mailing list