Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

missing libssl.so when install via deb package on ubuntu 23.04 #10

Open
yangcheng opened this issue Sep 6, 2023 · 2 comments
Open

missing libssl.so when install via deb package on ubuntu 23.04 #10

yangcheng opened this issue Sep 6, 2023 · 2 comments

Comments

@yangcheng
Copy link

yangcheng commented Sep 6, 2023

(base) ➜ sudo dpkg -i ~/Downloads/recipe-ui_0.7.2_amd64.deb 
Selecting previously unselected package recipe-ui.
(Reading database ... 477099 files and directories currently installed.)
Preparing to unpack .../recipe-ui_0.7.2_amd64.deb ...
Unpacking recipe-ui (0.7.2) ...
Setting up recipe-ui (0.7.2) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

(base) ➜  recipe-ui
recipe-ui: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I tried to installed libssl related packages but it does not help.

E: Unable to locate package libssl1.1
E: Couldn't find any package by glob 'libssl1.1'

(base) ➜ sudo apt install libssl-dev

[sudo] password for cheng: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  libssl-doc
The following NEW packages will be installed:
  libssl-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,377 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu lunar-updates/main amd64 libssl-dev amd64 3.0.8-1ubuntu1.2 [2,377 kB]
Fetched 2,377 kB in 2s (1,064 kB/s)     
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 403345 files and directories currently installed.)
Preparing to unpack .../libssl-dev_3.0.8-1ubuntu1.2_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.8-1ubuntu1.2) ...
Setting up libssl-dev:amd64 (3.0.8-1ubuntu1.2) ...
(base) ➜  dongapi git:(master) sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) ➜  recipe-ui 
recipe-ui: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
@sergiosgc
Copy link

sergiosgc commented Sep 6, 2023

The same problem happens on Debian 12 (bookworm, latest stable version). Probably also on Debian 11 (bullseye). libssl1 is out of use for quite some time now.

If you publish the Debian package build scripts in the repo, I can certainly fix this and send a pull request.

@sake
Copy link

sake commented Nov 23, 2023

There are two issues here:

  1. The package does not contain a dependency to libssl1.1
    A fix would be to add a proper dependency in the package. This should be there even if the libssl dependency is updated in the binary and the error does not occur.
  2. The binary in /usr/bin/recipe-ui is linked against this old version of libssl
    This must be changed in the build by upgrading the dependency which pulls in libssl. I don't know enough about the build process to give a solution.

As it hasn't been mentioned here, in order to fix the problem with the missing libssl1.1, one can install the old version from the debian archive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants