You are not logged in.
I have an issue with the icu package. Current one is 78.1. I write code with R language, and one package, named stringr, need icu 76. When opening my R shell, i have an error which prevents me to go further without errors. The output of this issue is:
error: package or namespace load failed for ‘stringr’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib/R/library/stringi/libs/stringi.so':
libicuuc.so.76: cannot open shared object file: No such file or directory
--------------------
ls -al /usr/lib/R/library/stringi/libs/stringi.so
-rwxr-xr-x 1 gabx gabx 5.8M Feb 27 2025 /usr/lib/R/library/stringi/libs/stringi.so*Is there any clean way to solve this issue, like installing somewhere (maybe in the R library path /usr/lib/R/library/stringi/libs the icu 76 arch package?
Thank you for help.
Last edited by gabx (2025-12-01 03:01:32)
Offline
Rebuild that library against the new icu.
Offline
Rebuild that library against the new icu.
Thank you for your quick answer, but may you please explain me how to do that?
Last edited by gabx (2025-12-01 02:26:04)
Offline
The same way you built/installed it in the first place.
Offline
The same way you built/installed it in the first place.
Well, i don't see what you mean. I install R package from inside R, with
install.packages('stringr') function. As for arch, i use pacman.
So I don't understand your answer, sorry.
Downgrading the icu package will break too many arch packages
Last edited by gabx (2025-12-01 02:31:38)
Offline
I built my R packages from sources against my current icu.78 librairies installed on my arch linux. Et voilà.
Offline
You are aware that there is an stringr in aur ?
Moderator Note
Using a 3rd party manager to manage packages makes them unsupported and related threads will be moved.
Moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline