r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.36k stars 161 forks source link

topgrade: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory (fedora 36 beta) #906

Closed Un1q32 closed 2 years ago

Un1q32 commented 2 years ago

What did you expect to happen?

topgrade to run normally

What actually happened?

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

Additional details

Paste the output of `topgrade -v` topgrade: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory (I'm using the latest github release as of writing this)
MCOfficer commented 2 years ago

You should be able to fix this by installing the openssl1.1 package.

A more general fix on our end would be to f.e. switch to rustls for TLS support.

helkaluin commented 2 years ago

I'm afraid the libssl1.1 package is no longer in the Ubuntu repos as of 22.04 Jammy. The last release that has it is 21.10 Impish. See: https://packages.ubuntu.com/search?keywords=libssl1.1

MCOfficer commented 2 years ago

I wonder, can you give the musl release a try?

https://github.com/r-darwish/topgrade/releases/download/v8.3.1/topgrade-v8.3.1-x86_64-unknown-linux-musl.tar.gz

helkaluin commented 2 years ago

Yup, the musl one works. It's a static build isn't it.

MCOfficer commented 2 years ago

Yup, the musl one works. It's a static build isn't it.

Yes. I previously thought it was only a static libc build, but it's actually fully static. So it should also work for you @OldWorldOrdr

helkaluin commented 2 years ago

It seems it's still trying to load libssl.so.1.1 with the 9.0.0 release.

r-darwish commented 2 years ago

I'll look into it

Un1q32 commented 2 years ago

It seems it's still trying to load libssl.so.1.1 with the 9.0.0 release.

yep. musl still works tho