Installation error: cannot find libsmime3.so

Hello,

I am installing RStudio into Ubuntu 18.04. R 3.6 was successfully installed. After I installed RStudio I received the following error message: rstudio: error while loading shared libraries: libsmime3.so: cannot open shared object file: No such file or directory

Below is some relevant output during the RStudio installation: Preparing to unpack rstudio-1.2.1335-amd64.deb ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...

I installed RStudio using the following commands:
sudo apt install gdebi-core
wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.2.1335-amd64.deb
sudo gdebi rstudio-1.2.1335-amd64.deb
sudo adduser rstudiotest

I would appreciate guidance as to how best to troubleshoot installation of the libsmime3.so.

Thank you!

1 Like

I see the following on my machine:

kevin@ubuntu:~
$ locate libsmime3.so
/usr/lib/firefox/libsmime3.so
/usr/lib/thunderbird/libsmime3.so
/usr/lib/x86_64-linux-gnu/libsmime3.so
kevin@ubuntu:~
$ dpkg -S /usr/lib/x86_64-linux-gnu/libsmime3.so 
libnss3:amd64: /usr/lib/x86_64-linux-gnu/libsmime3.so

I think this implies that

sudo apt install libnss3

should provide the needed library.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.