Reputation: 8342
I am having problems with R
after updating to ubuntu 15.10
:
When I trying to run R
, I got the following:
/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory
And If I tried to uninstall R
(someone suggest that in the web) it doesn't remove the R
binary (not even using purge
!)
Upvotes: 0
Views: 508
Reputation: 8342
I just recompiled R
from the source (I want to emphasize this: recompiled from the source) and it worked.
tar zxvf R-3.2.2.tar.gz
cd R-3.2.2
./configure
make
sudo make install
UPDATE
After following some suggestions I remove the R
-installed from the source with sudo make uninstall
. And then I installed it from synaptic
, and now everything worked.
Upvotes: 0
Reputation: 368241
I ran into that with a CRAN package but it could possibly be the same for R itself. When you upgrade to Ubuntu 15.10, the ICU libraries goes from 52 to 55.
And all binaries built outside the package management systems may fail as libicu52
is now longer there. So you need to rebuild -- and it will pick up libicu55
.
But you should really consider using the (always current) R binaries from the CRAN mirrors. These reflect the Debian binaries I upload, and which Michael rebuilds. Lots of people use them happily, and we have the r-sig-debian
list for help if needed.
Upvotes: 3