LPGhatguy / aftman

Aftman, the prodigal sequel to Foreman
MIT License
157 stars 16 forks source link

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

Open Jeffimenson opened 1 year ago

Jeffimenson commented 1 year ago

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 commented 1 year ago

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 commented 6 months ago

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 commented 4 months ago

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.