aftman icon indicating copy to clipboard operation
aftman copied to clipboard

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

Open Jeffimenson opened this issue 2 years ago • 3 comments

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?

Jeffimenson avatar Sep 13 '23 22:09 Jeffimenson

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.

paradoxuum avatar Sep 13 '23 23:09 paradoxuum

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

luketeam5 avatar Feb 21 '24 20:02 luketeam5

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.

LPGhatguy avatar May 02 '24 20:05 LPGhatguy