You are not logged in.

#1 2015-11-05 07:16:43

woodape
Member
Registered: 2015-03-25
Posts: 159

[SOLVED] Rstudio breaks because of new libicuuc

Hi All,

I use R basically every day and like to use RStudio - from the rstudio-desktop-bin package in the AUR - as the frontend. With the newest icu packages from the official repos, Rstudio breaks. It launches, but it is simply a window filled with white. I went to see if the rstudio-desktop-git package would be more in tune with the latest icu package, but unfortunately it isn't:

/usr/lib64/R/bin/exec/R: error while loading shared libraries: libicuuc.so.55: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
==> ERROR: Makepkg was unable to build rstudio-desktop-git.

I checked to see if I could downgrade from the latest icu-56.1-1 to the previous version icu-55.1-1, but that would also entail downgrading libreoffice-fresh, firefox, among other things, so this is not a great solution.

Is there a way for me to force the the compiler to use the libicuuc.so.56 instead of libicuuc.so.55 from the PKGBLD file, or do I need to do this edit in the source code? Is this the "correct" way to solve this problem?

**EDIT

Just realized that the base R package also breaks, which is a bigger problem. is sim-linking  libicuuc.so.56 to libicuuc.so.55 a big problem?

Last edited by woodape (2015-11-05 08:56:57)

Offline

#2 2015-11-05 08:56:31

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: [SOLVED] Rstudio breaks because of new libicuuc

Solved, but I feel like a bit of an idiot.

Apparently the issue was with R not with Rstudio. I had built R from the ABS when I initially installed it, which must have pulled in the old version of the 'libicuuc'. Reinstalling r from the official repos fixed the issue.

Someone correct me if I'm wrong - but shouldn't an official package built from the ABS be up-versioned if one of its dependency libraries is up-versioned? In any case, it seems like a good default strategy to initially just try and reinstall a package from the official repo if it seems to be broken.

Offline

#3 2015-11-05 14:26:44

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: [SOLVED] Rstudio breaks because of new libicuuc

For anybody that is running into the same problems, you'll likely need to re-install some of your R packages, in particular "stringi" which pulls in the libicu. ggplot2 for instance relies on this and will fail without a rebuilt "stringi"

Offline

#4 2015-11-11 19:49:05

mbontrager
Member
Registered: 2015-11-11
Posts: 1

Re: [SOLVED] Rstudio breaks because of new libicuuc

Thank you very much, woodape, this really helped me

Offline

#5 2015-11-18 11:46:50

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: [SOLVED] Rstudio breaks because of new libicuuc

^ no problem mbontrager smile

Offline

#6 2018-01-05 01:03:31

alex628
Member
Registered: 2017-08-25
Posts: 9

Re: [SOLVED] Rstudio breaks because of new libicuuc

Reinstalling r from the official repos fixed the issue.

was this by using

pacman -S r

I am having the same icu problem

Offline

#7 2018-01-05 01:07:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Rstudio breaks because of new libicuuc


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB