install Rstudio failed due to error:

Hi I followed instruction here to install rstudio:

http://cran.rstudio.com/bin/linux/ubuntu/

However, when I ran command: sudo rstudio-server start
I get the error: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

My linux version is
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic

Which satisfy the instruction's requirements

What should I do to fix this problem?

You are missing a system dependency or you have an incompatible version. Are you sure you have downloaded the right installer? There are two installers, one for Ubuntu 18/20 and other for Ubuntu 22, you usually get this kind of error when you use the wrong one. If that is not the case, then try manually installing the missing system dependency.

sudo apt update
sudo apt install libssl-dev

Also, have in mind that Ubuntu 18 is reaching "end of life" in a few months.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.