cinny-desktop icon indicating copy to clipboard operation
cinny-desktop copied to clipboard

.deb release missing libssl.so.1.1

Open JackRoublard opened this issue 2 years ago • 2 comments

Hi,

Upon installation of the released .deb on Kubuntu 22.10 via apt, cinny refuses to start with the following error :

error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

sudo ldconfig -p | grep libssl yields :

libssl3.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl3.so
libssl.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so.3
libssl.so.3 (libc6) => /lib/i386-linux-gnu/libssl.so.3
libssl.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so

Symlinking the latter to /lib/x86_64-linux-gnu/libssl.so.1.1 or /usr/lib[64]/libssl.so.1.1 does not help.

Tried with 2.2.4 and 2.2.3 release .deb

JackRoublard avatar Jan 31 '23 10:01 JackRoublard

I faced the same issue just now with v3.2.1

This is because the OpenSSL version is 3.0 while cinny gets pointed to libssl.so.1.1 which does not exist in your lib folder.

You can quickly fix it by installing libssl.so1.1 again. For that, you need to find the relevant version in the archive and install it.

In my case it was: curl http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb -o libssl.deb In the future it could be: curl http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1[CHANGED] -o libssl.deb

then sudo dpgk -i libssl.deb

This fixes the issue.

You can find the relevant version on http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/?C=M;O=D by searching for libssl1.1_1.1.1f-1

However, Cinny should not use the outdated library and rather use the available up to date version on the machine.(https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/)

Neotamandua avatar Dec 13 '23 11:12 Neotamandua