Reputation: 111
I installed RStudio version 0.98.507 and my R
version is 2.14.1. My OS is ubuntu 12.04. When I try to start RStudio from the terminal I get the following error:
rstudio: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory
How do I solve this?
Upvotes: 10
Views: 24513
Reputation: 13434
apt-get install libuuid1
This command will not resolve the problem, if you are running 32 bit executable on 64 bit Ubuntu. Need to install 32 bit version of libuuid1
with `i386' suffix.
apt-get install libuuid1:i386
For NixOS, you can follow this:
Upvotes: 6
Reputation: 6976
In case someone else comes across this problem, installing libuuid1 also did not work for me. This was because I had installed the 32 bit version of R studio when my system is 64 bit. So one solution is to install the 32 bit versions of the libraries, such as 'libuuid1:i386' in debian. The more simple and obvious solution is to just uninstall the current version of rstudio and install the 64 bit version. Worked like a charm!
Upvotes: 2
Reputation: 1627
Maybe you have some dependencies and, in fact, not completely installed.
When I tried to install, I got the following error:
dpkg: dependency problems prevent configuration of rstudio:
rstudio depends on libjpeg62; however:
Package libjpeg62 is not installed.
So I simply installed the dependency via apt-get:
sudo apt-get install libjpeg62
And then installed the rstudio:
sudo dpkg -i rstudio-<your_version>-amd64.deb
Upvotes: 3
Reputation: 111
installing the following package solved the problem for me. I am using ubuntu 12.04
sudo apt-get install ia32-libs
Upvotes: 1