Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Piere on 29 June 2023, 00:30:03

Title: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s
Post by: Piere on 29 June 2023, 00:30:03
After an update I receive the error /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory when I try to run Element. I've tried reinstalling electron, element-desktop, element-web and icu with no luck.
Title: Re: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s
Post by: TheExplorer on 06 August 2023, 16:49:54
Looks like another ICU drama (https://forum.artixlinux.org/index.php/topic,4708.0.html) is here again...

Reinstalling won't help because, as I understand, the software has to be rebuilt against the new libicu library. The fix is to unpack the previous ICU version 72 somewhere in /usr/local/lib and add the files via ldconfig:

* Get the old ICU libs:
  wget https://archive.artixlinux.org/packages/i/icu/icu-72.1-2-x86_64.pkg.tar.zst
* Install the old ICU libs:
   tar -xv -C /tmp --wildcards --zstd -f icu-72.1-2-x86_64.pkg.tar.zst usr/lib/libicu*
   sudo mv -f /tmp/usr/lib/libicu* /usr/local/lib/
* Activate the old libs:
  sudo echo "/usr/local/lib" >>/etc/ld.so.conf.d/local.conf
  sudo ldconfig

P.S. And yes, the problem occurs when people mix Artix with Arch packages (Arch is actually not supported here, use it at your own risk).
Title: Re: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s
Post by: Dudemanguy on 06 August 2023, 17:22:34
Electron25 isn't in our repos. If you're using an Arch mirror, be sure it's up to date.
Title: Re: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s
Post by: TheExplorer on 07 August 2023, 14:01:56

Can you look into this issue (https://forum.artixlinux.org/index.php/topic,5785.0.html)? Thank you.

UPDATE: Sorry, never mind. Fixed it.

P.S. Is it possible to ask the devs for a package? It would be awesome if they could package Goldendict. I'm a translator and really need this piece of software.