Building openssl-1.1.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Building openssl-1.1.1

Nafanja
Hello,

I tried to compile openssl-1.1.1 and the process runs without errors but
wenn I try to verify the version by oppenssl version I got this message:

Kompilierung und Installation von openssl-1.1.1 verliefen ohne Probleme
aber bei der Versionsabfrage erhalte ich:


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)

I run Linux Mint 19 with Kernel 4.18.8

I followed this tutorial:
-------> hxxps://mdxdave.de/technik/linux/openssl-debian

wget ftp://ftp.openssl.org/source/openssl-1.1.1.tar.gz
tar xfz openssl-1.1.1.tar.gz

cd openssl-1.1.1
sudo ./config --prefix=/usr zlib-dynamic --openssldir=/etc/ssl shared
sudo make
sudo make test

sudo make install

Any ideas about this problem and how to solve it?

Thank you an good night :)

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

0xD1E6AD6A1149BC42.asc (3K) Download Attachment
signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building openssl-1.1.1

Billy Brumley
> 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.

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

Hope it helps,

BBB
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Building openssl-1.1.1

Viktor Dukhovni
> On Sep 17, 2018, at 1:30 AM, Billy Brumley <[hidden email]> 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.

--
        Viktor.

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users