Error install rstudio-server-2023.06.0-421-1-.x86_64.

Hello,
I have problems installing rstudio-server 2023 on Centos Stream 8, when the installation finishes it reports the following error: error while loading shared libaries: libssl.so.10: cannot open shared object file: nos shuch file or directory

Could you please provide more information and list the actual steps you performed trying to install rstudio-server? Thanks!

Hello, the steps I followed to install the latest version of RSTUDIO-SERVER 2023 were done according to the instructions on the website, RStudio Server - Posit

  1. I downloaded the latest rpm version; wget https://download2.rstudio.org/server/centos7/x86_64/rstudio-server-rhel-2023.06.0-421-x86_64.rpm

  2. I proceeded to install the new package: sudo yum install rstudio-server-rhel-2023.06.0-421-x86_64.rpm

and the final result that came out was this:
Descargando paquetes:
Ejecutando verificación de operación
Verificación de operación exitosa.
Ejecutando prueba de operaciones
Prueba de operación exitosa.
Ejecutando operación
Preparando : 1/1
Actualizando : rstudio-server-2023.06.0+421-1.x86_64 1/2
Ejecutando scriptlet: rstudio-server-2023.06.0+421-1.x86_64 1/2
useradd: el usuario «rstudio-server» ya existe
Created symlink /etc/systemd/system/multi-user.target.wants/rstudio-server.service → /usr/lib/systemd/system/rstudio-server.service.
/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
● rstudio-server.service - RStudio Server
Loaded: loaded (/usr/lib/systemd/system/rstudio-server.service; enabled; vendor preset: disabled)
Active: inactive (dead)

jul 05 11:25:52 localhost.localdomain systemd[1]: rstudio-server.service: Failed with result 'exit-code'.
jul 05 11:25:52 localhost.localdomain systemd[1]: Failed to start RStudio Server.
jul 05 11:29:55 localhost.localdomain systemd[1]: Starting RStudio Server...
jul 05 11:29:55 localhost.localdomain systemd[1]: Started RStudio Server.
jul 05 11:31:01 localhost.localdomain rsession-xcrespo[3136]: ERROR system error 2 (No existe el fichero o el directorio) [description: Error changing directory: '/proc/28451/cwd']; OCCURRED AT rstudio::core::Error rstudio::core::system::ChildProcess::run() src/cpp/core/system/PosixChildProcess.cpp:743; LOGGED FROM: rstudio::core::Error rstudio::core::system::ChildProcess::run() src/cpp/core/system/PosixChildProcess.cpp:743
jul 05 11:31:12 localhost.localdomain rsession-xcrespo[3105]: WARNING Private command disabled, unsupported $HISTCONTROL: [ignoredups]; LOGGED FROM: bool rstudio::core::terminal::PrivateCommand::output(const string&) src/cpp/core/terminal/PrivateCommand.cpp:247
jul 05 14:39:02 localhost.localdomain rsession-xcrespo[3105]: ERROR system error 2 (No existe el fichero o el directorio) [path: /proc/3136/cwd]; OCCURRED AT rstudio::core::FilePath rstudio::core::FilePath::resolveSymlink() const src/cpp/shared_core/FilePath.cpp:1586; LOGGED FROM: rstudio::core::FilePath rstudio::core::FilePath::resolveSymlink() const src/cpp/shared_core/FilePath.cpp:1586
jul 07 08:45:37 localhost.localdomain systemd[1]: Stopping RStudio Server...
jul 07 08:45:37 localhost.localdomain systemd[1]: rstudio-server.service: Succeeded.
jul 07 08:45:37 localhost.localdomain systemd[1]: Stopped RStudio Server.

Ejecutando scriptlet: rstudio-server-2022.07.0+548-1.x86_64 2/2
Limpieza : rstudio-server-2022.07.0+548-1.x86_64 2/2
Ejecutando scriptlet: rstudio-server-2022.07.0+548-1.x86_64 2/2
/sbin/ldconfig: /usr/lib64/llvm15/lib/libclang.so.15 no es un enlace simbólico

Verificando : rstudio-server-2023.06.0+421-1.x86_64 1/2
Verificando : rstudio-server-2022.07.0+548-1.x86_64 2/2
Productos instalados actualizados.

Actualizado:
rstudio-server-2023.06.0+421-1.x86_64

¡Listo!

[root@localhost ~]# sudo rstudio-server start
/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
[root@localhost ~]#

You appear to have downloaded and installed the wrong version (Centos 7 version) of the software for your system and RStudio Server is looking for binaries that are not installed on Centos Steam 8. I had the same issues when I migrated our server from RHEL 7 to RHEL 8 and attempted to use the same binaries.

You need to download and install the RStudio Server version for Fedora 34 / RedHat 8.
https://download2.rstudio.org/server/rhel8/x86_64/rstudio-server-rhel-2023.06.0-421-x86_64.rpm

Remove the mismatched version of RStudio Server and install the version for RHEL 8. It should then start properly for you.

If you get the same error then it means that the Centos 7 version was not completely removed.

2 Likes

Thank you very much raymondval, I followed the advice and the problem was solved, now I have RStudio 2023 installed on Centos Stream 8

This topic was automatically closed 7 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.