Rstudio wants libR.so

Been happily using R (4.0.4) and recently tried to install Rstudio (1.4.1717) which says can not find libR.so
I don't think I have libR.so

Should I reinstall R?

sessionInfo()
x86_64-pc-linux-gnu
x86_64
linux-gnu x86_64,
linux-gnu 4 0.4 2021 02 15 80002 R
R version 4.0.4 (2021-02-15)
Lost Library Book%

How did you install R? RStudio loads R as a shared library, so most likely either:

a) you have a version of R that was built without shared library support (see rstudio - How to configure R-3.1.2 with --enable-R-shlib - Stack Overflow)

or

b) libR.so is not on LD_LIBRARY_PATH nor is in one of RStudio's expected locations see 6 R Versions | RStudio Server Professional Edition 1.3.1093-1)

1 Like

You are correct: not compiled with --enable-R-shlib

I reinstalled R from binaries and works fine. Rstudio works. Thx.

Great, glad to hear it!

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.