Support

Error While Loading Shared Libraries

Follow

Problem

On a fresh install of RStudio Workbench, you may see errors such as this:

/usr/lib/rstudio-server/bin/license-manager: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/usr/lib/rstudio-server/bin/rstudio-launcher: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

 

Solution

This occurs when your RStudio Workbench installation is attempting to find a library that doesn't exist. More often than not, this is caused by the incorrect version of RStudio Workbench for your Linux distribution.

There is an easy way that we can check if the version of Workbench that we've installed lines up with our Linux distribution. Simply run the commands below:

grep PRETTY_NAME /etc/os-release
rstudio-server version

Running these commands will give you an output that looks similar to below:

UbuntuRSW.png

If we had installed the incorrect version of Workbench for our distribution, we would see this:

RSW_Debian.png

Here, we see that we've installed Workbench for Debian 9 when our server is Ubuntu Bionic (20.04). 

Remember: It's always a good idea to double-check that you've selected the correct version of Workbench from your distribution from here: https://docs.rstudio.com/rsw/installation/

 

Support Ticket

If you still have issues after completing the above, you can always lodge a support ticket, where our group of friendly, and incredibly knowledgeable staff can assist with any issues that you may be having. You can submit a ticket here:

https://support.rstudio.com/hc/en-us/requests/new

Comments