Skip to content
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

Ubuntu 22.04: libssl.so.1.1: cannot open shared object file #48

Closed
gabrielnic opened this issue Jun 21, 2022 · 4 comments · Fixed by #50
Closed

Ubuntu 22.04: libssl.so.1.1: cannot open shared object file #48

gabrielnic opened this issue Jun 21, 2022 · 4 comments · Fixed by #50

Comments

@gabrielnic
Copy link
Contributor

So I tried upgrading from ubuntu 20 to ubuntu 22 but it seems that on 22 they're using the new improved openssl3.

If I try to use vessel I get this: vessel: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Can vessel start using openssl3 or is that a dependency out of your hands?

Related:

https://stackoverflow.com/questions/72133316/ubuntu-22-04-libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-di

@gabrielnic
Copy link
Contributor Author

gabrielnic commented Jun 21, 2022

Temp solution is to run this:

wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb

sudo dpkg -i libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb

ggreif added a commit that referenced this issue Jun 21, 2022
It appears that recent Ubuntu distros don't include `openssl-1.1.1` by default any more (fixes #48), this PR adopts 3.0.

v3.0 of `openssl` has been released on 8 Sept 2021, so it should be widespread enough in recent distributions.

Also bumps:
- `nix` deps (e.g. `release-22.05`)
- `cargo` deps
- some GH actions
@ggreif
Copy link
Contributor

ggreif commented Jun 21, 2022

@gabrielnic please check out https://github.com/dfinity/vessel/releases/tag/v0.6.4. When I get positive feedback, I'll make a final release. Thanks for the report!

@gabrielnic
Copy link
Contributor Author

@gabrielnic please check out https://github.com/dfinity/vessel/releases/tag/v0.6.4. When I get positive feedback, I'll make a final release. Thanks for the report!

Hey @ggreif I can confirm that's fixed now!

gabriel@DESKTOP-8G906R5:~/projects$ vessel vessel 0.6.4 Simple package management for Motoko

@ggreif
Copy link
Contributor

ggreif commented Jun 23, 2022

Just to avoid pilot errors, did you uninstall libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb before testing?

Checking ldd should work too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants