[R-pkg-team] Bug#1042775: r-cran-stringi: fails being loaded in R
    Martin Weiser 
    martin.weiser at natur.cuni.cz
       
    Mon Jul 31 19:16:25 BST 2023
    
    
  
Package: r-cran-stringi
Version: 1.7.12-1
Severity: important
X-Debbugs-Cc: martin.weiser at natur.cuni.cz
Dear Maintainer,
I cannot load package "r-cran-stringi" from my R session.
Within an R session, issue:
 library("stringi") 
The R responds: 
Error: package or namespace load failed for ‘stringi’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/site-library/stringi/libs/stringi.so':
  libicui18n.so.67: cannot open shared object file: No such file or directory
My R session info:
> sessionInfo()
R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 12 (bookworm)
Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.11.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.11.0
locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
loaded via a namespace (and not attached):
[1] compiler_4.2.2 tools_4.2.2   
My .libPaths():
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"      
[3] "/usr/lib/R/library" 
With Bookworm, I have:
apt-file search libicui18n.so:
libicu-dev: /usr/lib/x86_64-linux-gnu/libicui18n.so
libicu72: /usr/lib/x86_64-linux-gnu/libicui18n.so.72
libicu72: /usr/lib/x86_64-linux-gnu/libicui18n.so.72.1
I installed all packages (both R and system) using apt.
Although I would be happy to help, I have not solved
 the problem (loading the "stringi" package) myself yet...
 
Thank you for your consideration.
With regards,
Martin Weiser
-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-10-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages r-cran-stringi depends on:
ii  libc6                    2.36-9+deb12u1
ii  libgcc-s1                12.2.0-14
ii  libicu72                 72.1-3
ii  libstdc++6               12.2.0-14
ii  r-base-core [r-api-4.0]  4.2.2.20221110-2
r-cran-stringi recommends no packages.
r-cran-stringi suggests no packages.
-- no debconf information
    
    
More information about the R-pkg-team
mailing list