can not startup Rstudio

OS: Kubuntu2204LTS
Rstudio: v22.0.3, installed in /opt/rstudio
R: 4.3.1, installed in /opt/R (compiled from source)

I have set environment variable to R, which I can find R executable bin.
While I am starting rstudio, the following error happens:

R Session Startup Failure Report

RStudio Version

RStudio 2023.03.0+386 "Cherry Blossom " (3c53477a, 2023-03-09) for Ubuntu Jammy

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2023.03.0+386 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 127.

Error output:

/opt/rstudio/resources/app/bin/rsession: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory

Standard output:

[No output emitted]

Logs

Log File

[No logs available]

it is reported that libR.so not found, how can I solve it?

thx.

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.