ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

libssl.so.1.1missing in Ubuntu 22.04 (POP OS)

Open bashfulrobot opened this issue 2 years ago • 5 comments

Describe the bug When installing ncspot (v0.9.8) on Ubuntu 22.04, you end up with the following error:

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

To Reproduce Steps to reproduce the behaviour:

  1. Download: https://github.com/hrkfdn/ncspot/releases/download/{{ ncspot_release.tag }}/ncspot-{{ ncspot_release.tag }}-linux-x86_64.tar.gz
  2. extract the files and rename to ncspot (binary)
  3. sudo install ncspot /usr/local/bin
  4. See error.

Expected behaviour ncspot to open up and prompt for login`

Screenshots

image

System (please complete the following information): — OS: POP OS 22.04 (Ubuntu based) — Terminal: GNOME Terminal Version 3.44.0 for GNOME 42 — Version: v0.9.8 – downloaded from the releases — Installed from: GitHub

Additional context

— The missing libcrypto.so.1.1 is part of libssl1.1 which is not available in 22.04.

bashfulrobot avatar May 12 '22 23:05 bashfulrobot

This is not the way to solve this, but if you download the deb file and install, the error goes away and ncspot works. I was just confirming that the issue is simply a missing package.

bashfulrobot avatar May 12 '22 23:05 bashfulrobot

Hmm, I think it's because the binary is built for the previous Ubuntu LTS. Unfortunately there's no way to cover all the various OS distros, so I don't think there's too much I can do here: https://github.com/actions/virtual-environments#available-environments

In the future, ubuntu-latest will probably use 22.04, so it should be solved at some point.

hrkfdn avatar May 16 '22 17:05 hrkfdn

I know they are working on it. It can be used as a “beta”.

https://github.com/actions/virtual-environments/issues/5490

bashfulrobot avatar May 16 '22 18:05 bashfulrobot

I suspect I have a related issue to this, so adding it here. When trying to install the deb for easyteather I'm getting an error on libssl1.1. I can't seem to find a way to install libssl1.1 though. Google searches are suggesting it's an apt install which isn't found on my PopOS 22.04. This was working before the 22.04 upgrade, but was one of many things I'm needing to re-install following the upgrade.

$ sudo dpkg -i easytether_0.8.9_amd64.deb 
Selecting previously unselected package easytether.
(Reading database ... 196549 files and directories currently installed.)
Preparing to unpack easytether_0.8.9_amd64.deb ...
Unpacking easytether (0.8.9) ...
dpkg: dependency problems prevent configuration of easytether:
 easytether depends on libssl1.1 (>= 1.1.0); however:
  Package libssl1.1 is not installed.

dpkg: error processing package easytether (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 easytether
$ sudo apt install libssl1.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libssl1.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.1' has no installation candidate

davidparks21 avatar May 22 '22 18:05 davidparks21

Scratch my last comment, it appears that the easytether app just needs to update support for libssl3 to support Ubuntu/PopOS 22.04. I thought of deleting the comment, it's a little out of place, but since I found this issue during the debugging process it's likely others will as well, and perhaps it can help them..

davidparks21 avatar May 22 '22 20:05 davidparks21