RStudio not opening in F30 (rstudio: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory)

I installed R and then R studio. I got the rpm file from Rstudio website and installed it with
sudo dnf localinstall rstudio-1.2.1335-x86_64.rpm
after installtion I opened with application menu it didn’t open, later I tried to open it via terminal and received the following error
rstudio: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
I installed openssl-devel
Still, the same error shows up. Kindly help me to solve this issue. Thank you in advance.

2 Likes
sudo dnf provides libssl.so.10

install package provides libssl.so.10 example:

sudo dnf install compat-openssl10-1:1.0.2o-5.fc30.i686

or just

sudo dnf install libssl.so.10

after installing the libssl I get this

Package compat-openssl10-1:1.0.2o-5.fc30.i686 is already installed

and launched rstudio via terminal. stil get the following error
rstudio: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

Looks like the Rstudio package from the website wasn’t built properly to tell you its dependencies — that’s why you are having to puzzle this out, I’m afraid.

With your latest trouble, note that you have an x86_64 RStudio package, but the command installed the i686 library. Try this:

dnf install compat-openssl10.x86_64
2 Likes

Thank you @mattdm. after installing 64bit open ssl. The program now opens and work like a charm. :slight_smile: