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

Getting "...Error while loading shared libraries: libssl.so.1.1..." on WSL Ubuntu #53

Open
Jeffimenson opened this issue Sep 13, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Jeffimenson
Copy link

I've been trying to use install aftman on my ubuntu WSL system using the provided binary for linux. I unzip the linux file and attempt to run ./aftman self-install, and soon after I am unfortunately greeted with the error:

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

Any ideas on how to fix this?

@paradoxuum
Copy link

paradoxuum commented Sep 13, 2023

The cause and solution to the issue is talked about here: #43

I had the same issue using ArchWSL and Ubuntu, I'd just recommend building from source as it's pretty easy in this case. You just have to install rust with rustup, run cargo install --git https://github.com/LPGhatguy/aftman.git and then run aftman self-install.

@luketeam5
Copy link

The cause and solution to the issue is talked about here: #43

I had the same issue using ArchWSL and Ubuntu, I'd just recommend building from source as it's pretty easy in this case. You just have to install rust with rustup, run cargo install --git https://github.com/LPGhatguy/aftman.git and then run aftman self-install.

I'll add that you also need to install libsll-dev for the build in case anyone does not know, using

sudo apt-get install libssl-dev
sudo apt-get update

@LPGhatguy LPGhatguy added the enhancement New feature or request label May 2, 2024
@LPGhatguy
Copy link
Owner

The fix for this is probably to stop depending on OpenSSL and to instead make the pivot to rustls, as some other Rust CLI tools have done.

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

No branches or pull requests

4 participants