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:
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
[No error available]
The R session exited with code 127.
/opt/rstudio/resources/app/bin/rsession: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
[No output emitted]
[No logs available]
it is reported that libR.so not found, how can I solve it?