TransWikia.com

Ubuntu 20.04: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Ask Ubuntu Asked by John_3254 on December 24, 2021

I have upgraded from Ubuntu 18.04 to 20.04. One application does not run any more with the error:

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

I have searched this forum and followed the advice and tried: sudo apt-get install libssl1.0.0:amd64.

I get:

Package libssl1.0.0 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.0.0' has no installation candidate

I also tried sudo apt install libssl1.1, and I get:

libssl1.1 is already the newest version (1.1.1f-1ubuntu2).
libssl1.1 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 openmpi-bin : Depends: libopenmpi3 (>= 4.0.3) but it is not going to be installed
               Recommends: libopenmpi-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

So then I tried sudo apt --fix-broken install libssl1.1, but I get:

libssl1.1 is already the newest version (1.1.1f-1ubuntu2).
libssl1.1 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 openmpi-bin : Depends: libopenmpi3 (>= 4.0.3) but it is not going to be installed
               Recommends: libopenmpi-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I also tried ‘E: Unable to locate package libssl1.0’ and I get:

E: Unable to locate package libssl1.0

Finally I tried:

sudo apt install --fix-broken
sudo apt-get update
sudo apt-get upgrade

However, I still get the same error. Any ideas before I downgrade to Ubuntu 18.04?

6 Answers

I had this problem too. RStudio depends on libssl 1.0.0, while Ubuntu 20.04 distributes the newer libssl 1.1.0.

Here is how to download and install the older version manually:

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
sudo dpkg -i *.deb

Hopefully, RStudio will at some point be upgraded to work with the newer version of libssl.

Answered by Westcroft_to_Apse on December 24, 2021

Answered by Abdulshafi Hamza on December 24, 2021

I solved my problem with libssl1.0.0 like this:

I opened http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/ in my browser and download last version of libssl1.0.0 for my system (for me it was libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb) Then I just install it:

sudo gdebi ./libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb

Answered by Verter on December 24, 2021

I use Debian Buster when I faced the issue like you. I resolved it by doing this:

First I see libssl1.0.0 is not in the Debian Buster APT Repository, it is replace by libssl1.1

Therefore, I add the Jessie APT repository to /etc/apt/source.list by run this command:

sudo nano /etc/apt/source.list

Paste the Jessie APT Repository: "deb http://security.debian.org/debian-security jessie/updates main"

Save and Exit (Ctrl + s && Ctrl + x) Run the update: sudo apt update Install the libssl1.0.0 package sudo apt install libssl1.0.0

Re-run rstudio, and it will run successfully.

Answered by Kris on December 24, 2021

I was trying to install RStudio Server 1.4.1103 on Ubuntu 20.04 and had the "libssl1.0.0 problem" (Ubuntu 18.04+ uses libssl1.1 natively). I found the solution here and made some version updates. Check here for updates.

Installing libssl1.0.0

$ wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
$ sudo apt install ./libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb

Installing RStudio Server 1.4.1103

$ sudo apt-get install gdebi-core
$ wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.4.1103-amd64.deb
$ sudo gdebi rstudio-server-1.4.1103-amd64.deb

Finding my local IP (in my case 192.168.0.17)

ip addr show

Finally I opened Studio Server in my browser using http://192.168.0.17:8787/.

Answered by zabala on December 24, 2021

I ran into the same issue I think (I had the same error message trying to launch RStudio after upgrading Ubuntu from 18.04 to 20.04). Here is what worked for me after reading the following page: https://packages.ubuntu.com/xenial/amd64/libssl1.0.0/download

  • Edit the source list sudo nano /etc/apt/sources.list to add the following line: deb http://security.ubuntu.com/ubuntu xenial-security main
  • Then sudo apt update and sudo apt install libssl1.0.0.

I hope t works for you too.

Answered by flobede on December 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP