Skip to main content
Topic: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s (Read 967 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

/usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s

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.

Re: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s

Reply #1
Looks like another ICU drama 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).

Re: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s

Reply #2
Electron25 isn't in our repos. If you're using an Arch mirror, be sure it's up to date.

Re: /usr/lib/electron25/electron: error while loading shared libraries: libicui18n.s

Reply #3

Can you look into this issue? 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.