This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems upgrading from 1.1.1 to 3.0.2 #18025
Comments
|
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 |
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) |
thank you it worked. I just had to point it to the correct location inside the config. |
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. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hello,
I am trying to upgrade OpenSSL 1.1.1.x to 3.0.2 but i get an error on
openssl version
, please if anyone knows how to solve this would be much appreciated.Steps for upgrade:
wget https://www.openssl.org/source/openssl-3.0.2.tar.gz
tar -xvzf openssl-3.0.2.tar.gz
cd openssl-3.0.2.tar.gz
./Configure
make
make test
sudo make install
sudo ldconfig
After this progress i used
openssl version
and gotopenssl: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
uname -a
=5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
which openssl
=/usr/local/bin/openssl
sudo find / -iname "*libssl.so.3"
=/usr/local/lib64/libssl.so.3
echo $LD_LIBRARY_PATH
=empty
The text was updated successfully, but these errors were encountered: