rstudio-serverlibcrypto

"error while loading shared libraries: libcrypto.so.1.1" when trying to run RStudio Connect


I am trying to install RStudio Connect using these commands:

RPM_FILE='rstudio-connect-1.8.8.1.el8.x86_64.rpm'
curl -sO https://cdn.rstudio.com/connect/1.8.8/${RPM_FILE}
sudo yum install -y $RPM_FILE

Which works but when i try to do

sudo systemctl stop rstudio-connect

What could be wrong? Do i need to install some package (libcrypto?) or why is it complanining about that I get these errors:

Error running license manager command '[verify]'; see system messages (syslog) for details: exit status 127
stdout:
stderr: /opt/rstudio-connect/bin/../ext/activation/license-manager: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
2021/05/17 11:17:36 Failed to update licensing; marking expired: exit status 127
2021/05/17 11:17:36 Server.Address is not configured. An address enables features that direct your users back to this server, such as email messages with links to your content.

Solution

  • Apparently I was installing the wrong version (for Centos 8 instead of 7)...

    It should have been

    curl -O https://cdn.rstudio.com/connect/1.8.8/rstudio-connect 1.8.8.1.el7.x86_64.rpm
    sudo yum install rstudio-connect-1.8.8.1.el7.x86_64.rpm