termscp
termscp copied to clipboard
[BUG] - 0.9.0 doesn't run on Ubuntu 22.04
Description
running termscp, errors with: "termscp: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory"
Steps to reproduce
run termscp
Expected behaviour
termscp should start
Environment
- OS: Ubuntu 22.10
- Architecture x86_64
- Rust version: N/A
- termscp 0.9.0 (installed via
curl --proto '=https' --tlsv1.2 -sSLf "https://git.io/JBhDb" | sh
) - Protocol used: N/A
- Remote server version and name: N/A
Log
 curl --proto '=https' --tlsv1.2 -sSLf "https:
//git.io/JBhDb" | sh
Termscp configuration
> Platform: linux
> Arch: x86_64
? Install termscp 0.9.0? [y/N] y
> Detected dpkg on your system
> Installing termscp via Debian package
> Downloaded debian package to /tmp/tmp.p34Qy4gYTZ.deb
! Root permissions are required to install termscp…
[sudo] password for dgulino:
> Installing termscp as root, please wait…
(Reading database ... 296583 files and directories currently installed.)
Preparing to unpack /tmp/tmp.p34Qy4gYTZ.deb ...
Unpacking termscp (0.9.0) over (0.9.0) ...
Setting up termscp (0.9.0) ...
✓ Congratulations! Termscp has successfully been installed on your system!
> If you're a new user, you might be interested in reading the user manual <https://veeso.github.io/termscp/#user-manual>
> While if you've just updated your termscp version, you can find the changelog at this link <https://veeso.github.io/termscp/#changelog>
> Remember that if you encounter any issue, you can report them on Github <https://github.com/veeso/termscp/issues/new>
> Feel free to open an issue also if you have an idea which could improve the project
> If you want to support the project, please, consider a little donation <https://ko-fi.com/veeso>
> I hope you'll enjoy using termscp :D
termscp
termscp: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Additional information
 uname -a
Linux 5520 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Have you already tried with
apt install libssl
this shouldn't be an issue anymore starting from 0.10 since libssl will be statically linked.
Ubuntu 22 uses the libssl3 package which includes:
/usr/lib/x86_64-linux-gnu/libssl.so.3
/usr/lib/x86_64-linux-gnu/libssl.so
I installed a non-standard libssl 1.0 and was able to get termscp to work with:
LD_LIBRARY_PATH=/usr/local/ssl/lib/ termscp
Oh no...
looks like I'll have to link statically for GNU/Linux systems for 0.10...
I have the same problem, trying to install termscp into a Linux container, using Docker, with the Ubuntu 22.04 base image.
Start a new container:
docker run --pull=always -it --rm ubuntu
Then run:
apt update
apt install libdbus-1-dev libssl-dev --yes
curl --proto '=https' --tlsv1.2 -sSLf "https://git.io/JBhDb" | sh
0.10 will definitely be shipped with static libssl. libssl = nightmare anyway. And Ubuntu is even dumber changing the default libssl.
it should have been fixed