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

Cannot use in Ubuntu 22.04 #1180

Closed
felipecrs opened this issue Mar 9, 2022 · 6 comments
Closed

Cannot use in Ubuntu 22.04 #1180

felipecrs opened this issue Mar 9, 2022 · 6 comments

Comments

@felipecrs
Copy link
Contributor

felipecrs commented Mar 9, 2022

After installing it, I receive the following error when trying to run:

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

Out of curiosity:

$ openssl version
OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)
@felipecrs
Copy link
Contributor Author

This solves the issue:

sudo apt update && sudo apt install libssl1.1 -y

But I suppose this was not supposed to be needed. Ideally the Volta binary should contain all it needs?

@charlespierce
Copy link
Contributor

My guess is that this is a duplicate of #1150: Currently we build against OpenSSL 1.0 and OpenSSL 1.1. We have an open RFC volta-cli/rfcs#47 for switching to Rustls, which would statically link and avoid OpenSSL compatibility issues (which are a huge pain). There's also some in-progress work towards that end, which has hit some snags with our environment / backwards compatibility needs.

Good to know that this is the case for the next major Ubuntu release, I think that bumps the priority up!

@felipecrs
Copy link
Contributor Author

Agreed. Closing as duplicate. Can't wait to see volta-cli/rfcs#47 implemented.

@moljac024
Copy link

moljac024 commented Apr 4, 2022

This solves the issue:

sudo apt update && sudo apt install libssl1.1 -y

But I suppose this was not supposed to be needed. Ideally the Volta binary should contain all it needs?

This no longer works:

→ sudo apt update && sudo apt install libssl1.1 -y
Hit:1 http://rs.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://rs.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://rs.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libssl1.1
E: Couldn't find any package by glob 'libssl1.1'

It looks like volta is unusable on ubuntu 22.04 for the time being

@felipecrs
Copy link
Contributor Author

Ubuntu 22.04 LTS will be released tomorrow, by the way, and indeed Volta is unusable there right now.

@ghost
Copy link

ghost commented Apr 22, 2022

Ubuntu 22.04 LTS will be released tomorrow, by the way, and indeed Volta is unusable there right now.

Confirmed

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

No branches or pull requests

3 participants