How do I fix error while loading shared libraries Libssl.so.1.1
root@localhost:~# spl-token create-token
spl-token: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
7 Replies
This happens most often when you update something and libssl.so gets updated. The name gets changed from libssl.so.1.1 to libssl.so.m.n (where m,n are not both 1).
Go to /usr/lib and make a symlink called libssl.so.1.1 to the libssl.so that you have:
cd /usr/lib
sudo ln -s libssl.so libssl.so.1.1
spl-token shouldn't be looking for libssl.so.1.1 in the first place. It should be looking for libssl.so…which is (usually) already a symlink to the right thing. The system and/or package update facility takes care of making sure that libssl.so points to the correct libssl.so.m.n.
You should report this as a defect.
-- sw
Go to /usr/lib and make a symlink called libssl.so.1.1 to the libssl.so that you have:
how do i know the libssl.so.m.n that i have? how do i go to /usr/lib?
how do i know the libssl.so.m.n that i have? how do i go to /usr/lib?
cd /usr/lib
ls -l libssl*
You should see a file called libssl.so.m.n (where {m,n} are each numbers in the range of 0..9).
-- sw
ive tried it, i get ''ls: cannot access 'libssl*': No such file or directory''
used ls to see, and truly no libssl.
used ''sudo ln -s libssl.so libssl.so.1.1'', did not work so i did ''sudo ln -s libssl.so.1.1''. when i 'ls', it showed libssl.so.1.1 in RED! tried spl-token create-token, now error 40 so i used rm to remove it. PLEASE HELP!
tried it, already installed. spl-token create-token did not work, same message
Did you look in other places?
https://unix.stackexchange.com/questions/421153/finding-libssl-on-a-customers-linux#421164
— sw