"error while loading shared libraries: libcrypto.so.1.1" 尝试 运行 RStudio Connect

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

我正在尝试使用这些命令安装 RStudio Connect:

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

哪个有效,但是当我尝试这样做时

sudo systemctl stop rstudio-connect

有什么问题吗?我是否需要安装一些软件包(libcrypto?)或者为什么它会抱怨这个 我收到这些错误:

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.

显然我安装了错误的版本(Centos 8 而不是 7)...

应该是

       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