Although I think the advice given by Artur is good. I managed to resolve this for a legacy app (specifically easytether-usb
) by grabbing libcrypto.so.1.1
from the 1.1 install as referenced by @Nishant in his answer. I installed that in user space under my home directory and created a sym link to it in /lib/libcrypto.so.1.1
:
sudo ln -s ~/openssl/lib/libcrypto.so.1.1 /lib/libcrypto.so.1.1
You can normally add ~/openss/lib
to the LD_LIBRARY_PATH
for the specific application in question, but in my case the leacy app didn't properly look in $LD_LIBRARY_PATH
, so I had to find out where it was looking for libcrypto.so.1.1
, I did that with the following:
sudo strace -e trace=open,openat,close,read,write,connect,accept easytether-usb
That showed me a dozen or so attempts to find the file libcrypto.so.1.1
in various locations, which is why I knew to add the sym link to /lib/
above.
After that the legacy app fired up and worked like normal. Other uses cases will likely need other shared libraries. the strace
command above should help determine what's needed.
libssl3
. However to give the other comments a use case: I am trying to install an application which hasn't yet updated tolibssl3
and support for the app seems limited or slow. It's a critical application for me, so I very much need to havelibssl1.1
available for this legacy app. Therefore I have the same question and a quick search brought me here. – David Parks Jun 01 '22 at 04:32libssl1.1
is no longer used in Ubuntu 22.04. So you have some options: 1) Either understand what you're doing, and make things work withlibssl3
or 2) Run your legacy app in a container or VM using on older version of Ubuntu (e.g. 20.04) that haslibssl1.1
. Mixinglibssl1.1
into Ubuntu 22.04 is a very bad idea. – Artur Meinild Jun 02 '22 at 07:04libssl-dev
. this worked to me. – abu-ahmed al-khatiri Jun 07 '22 at 17:03