Problems upgrading from 1.1.1 to 3.0.2 #21941
-
Hello, I am trying to upgrade OpenSSL 1.1.1.x to 3.0.2 but i get an error on Steps for upgrade:
After this progress i used
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
On ubuntu, x86_64 libraries should be installed in /usr/local/lib/x86_64-linux-gnu. But openssl 3.0 configure set up multilib postfix as 64. So you want to run ./configure --libdir=lib/x86_64-linux-gnu |
Beta Was this translation helpful? Give feedback.
-
Step by step fix for debian related OS based on tmshort answer:
ls /usr/local/lib64/
# >> libcrypto.so.3 libssl.a libssl.so ...
# add it
sudo echo /usr/local/lib64/ > /etc/ld.so.conf.d/openssl.conf
# load it
sudo ldconfig
ldconfig -v |less
openssl version
# > OpenSSL 3.1.0 14 Mar 2023 (Library: OpenSSL 3.1.0 14 Mar 2023) |
Beta Was this translation helpful? Give feedback.
-
thank you it worked. I just had to point it to the correct location inside the config. |
Beta Was this translation helpful? Give feedback.
-
after I use thanks @tmshort provide useful infomation to help me find the real reason: when build python, it will build ssl module by default, but if it can't find the openssl package, the ssl module will not be included in result. |
Beta Was this translation helpful? Give feedback.
Step by step fix for debian related OS based on tmshort answer:
/usr/local/lib64
ls /usr/local/lib64/ # >> libcrypto.so.3 libssl.a libssl.so ...
cat /etc/ld.so.conf.d/*
output/usr/local/lib64
in the listldconfig -v |less
openssl version # > OpenSSL 3.1.0 14 Mar 2023 (Library: OpenSSL 3.1.0 14 Mar 2023)