Library icu 73 conflicts with 74.2 version

Hey,
I would need help because I think my icu library has some problems: it affects several applications (in this case Rstudio) as in this case by a problem of updating (from 73 to 74.2). I try to install several packages in Rstudio but I got problems in this sense.

– I have everything updated and icu version is 74.2-1

– first there was a missing library libicui18n.so.73, so I create a symlinks

sudo ln -s /usr/lib/libicui18n.so.74.2 /usr/lib/libicui18n.so.73

  • after this it was missing libicuuc.so.73, so I made

sudo ln -s /usr/lib/libicuuc.so.74.2 /usr/lib/libicuuc.so.73

  • now, I got this alert which seems to indicate that package

stringi.so: undefined symbol: _ZTIN6icu_738ByteSinkE

I found here, the same problem, so I type:

$ c++filt _ZTIN6icu_738ByteSinkE
typeinfo for icu_73::ByteSink

And again it seems everything is related to the 73 version of icu library. Now I do not know, how to solve this problem.

I try to update, and everything is updated.

if someone have an idea.
thanks

R

Update icu then rebuild (clean build) the AUR package for RStudio - should fix.

2 Likes

thank you. Meanwhile I think I had solved by re-installing the package

install.packages("stringi")

How could I rebuild a package, as you wrote β€œclea build”, I would do

yay -Rns package
yay -S package

Is that what you meant?

5 aur/rstudio-desktop-git 1.4.1103.r736-1 (+61 0.00) (Out-of-date: 2023-10-25) 
    A powerful and productive integrated development environment (IDE) for R programming language
4 archlinuxcn/rstudio-desktop-git-debug 41700.28b71d3e83-1 (153.0 MiB 539.6 MiB) 
    Detached debugging symbols for rstudio-desktop-git
3 archlinuxcn/rstudio-desktop-git 41700.28b71d3e83-1 (13.6 MiB 88.7 MiB) 
    A powerful and productive integrated development environment (IDE) for R programming language
2 archlinuxcn/rstudio-desktop-bin 2023.12.0.369-1 (149.1 MiB 650.7 MiB) 
    An integrated development environment (IDE) for R (binary from RStudio official repository)
1 chaotic-aur/rstudio-desktop 2023.12.1.402-1 (22.1 MiB 101.3 MiB) 
    A powerful and productive integrated development environment (IDE) for R programming language
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 5
AUR Explicit (1): rstudio-desktop-git-1.4.1103.r736-1
AUR Dependency (1): libldap24-2.4.59-2
Sync Dependency (6): postgresql-libs-16.1-4, hunspell-en_us-2020.12.07-5, mathjax2-2.7.9-1, soci-4.0.3.r0.g438e3549-5, r-4.3.2-3, quarto-cli-bin-1.4.549-1
Sync Make Dependency (6): jdk8-openjdk-8.402.u06-1, ant-1.10.14-1, boost-1.83.0-4, yarn-1.22.21-1, chrpath-0.17-1, unixodbc-2.3.12-1
:: (1/2) Downloaded PKGBUILD: rstudio-desktop-git
:: (2/2) Downloaded PKGBUILD: libldap24
  2 rstudio-desktop-git              (Build Files Exist)
  1 libldap24                        (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 

This - 3rd line up. Enter A for all.

1 Like

Hi, check this solution. You can install the old icu version along with the new one.

that is not a solution, that is an ugly workaround. Rebuilding against the correct icu version is always the best solution.