El 19/11/2016 a las 07:47 a. m., Zhu Sha Zang escribió:

Hello everybody...


A single doubt here:


After an upgrade in package dev-libs/icu (from 57.1 to 58.1-r1) i tried a package upgrade inside R and got that:


/> update.packages(checkBuilt=TRUE, ask=FALSE, repos='http://cran.us.r-project.org')
trying URL 'http://cran.us.r-project.org/src/contrib/knitr_1.15.tar.gz'
Content type 'application/x-gzip' length 1027358 bytes (1003 KB)
==================================================
downloaded 1003 KB

* installing *source* package ‘knitr’ ...
** package ‘knitr’ successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
*unable to load shared object '/usr/lib64/R/library/stringi/libs/stringi.so':** ** libicui18n.so.57: cannot open shared object file: No such file or directory*
/


I am not super familiar with R - can you try rebuilding R itself before doing the CRAN package installs/upgrades? It looks like the path to ICU is hard-coded somehow.


This kind of "bug" can I put inside bugs.gentoo.org or its a cran package bug?

It is not the first time and i'm in dout about how to proceed.



If rebuildling R fixes this problem, you can file a bug so that developers somehow trigger an R rebuild whenever ICU is updated.

Alec

Reply via email to