Answer the question
In order to leave comments, you need to log in
Building OpenSSL from source, why doesn't it work?
We have an Ubuntu 18.04.1 server.
There was a need to build openssl of a certain version without replacing the native version, I assembled it in this way:
./config shared --prefix=/opt/openssl_1.1.1 --openssldir=/opt/openssl_1.1.1
make
make test
sudo make install
/opt/openssl_1.1.1/bin/openssl version
I get the following in response:/usr/lib/x86_64-linux-gnu/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /opt/openssl_1.1.1/bin/openssl)
/opt/openssl_1.1.1/bin/openssl: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /opt/openssl_1.1.1/bin/openssl)
ls /usr/lib/x86_64-linux-gnu/libssl*
/usr/lib/x86_64-linux-gnu/libssl.a /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libssl.so.1.1
ls /usr/lib/x86_64-linux-gnu/libcrypto*
/usr/lib/x86_64-linux-gnu/libcrypto.a /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
Answer the question
In order to leave comments, you need to log in
The question is removed, the assembly with these parameters helped
./config shared --prefix=/opt/openssl_1.1.1 --openssldir=/opt/openssl_1.1.1 -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question