You are not logged in.

#1 2017-11-29 20:12:34

custo
Member
Registered: 2013-11-23
Posts: 64

[SOLVED] pacman: error while loading shared libraries: libicuuc.so.59

Events of the last 15 minutes:

I wanted to install reveal.js. During the installation process I ran into the following error:

$ npm install
node: error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

I then installed icu and lib32-icu because it seemed like this library might be part of those packages. The error changed:

$ npm install
node: symbol lookup error: node: undefined symbol: uv_os_getppid

That seemed fishy so I wanted to do a system upgrade. Yet:

$ sudo pacman -Syu
pacman: error while loading shared libraries: libicuuc.so.59: cannot open shared object file: No such file or directory

Even more fishy. So I tried to do the upgrade from a live system:

# pacman -r /mnt -Syu

But it complains that there weren't enough disk space. That's not true. How do I convince it otherwise? I think pacman for some reason checks against the available space on the live system itself.

Oh, and after all this my system doesn't start any more. During the boot process it complains that NetworkManager failed to start and then the screen keeps turning off and on every few seconds. o_O

Can someone explain what's going on?

Last edited by custo (2017-11-29 23:16:59)

Offline

#2 2017-11-29 21:13:02

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: [SOLVED] pacman: error while loading shared libraries: libicuuc.so.59

"-Syur /mnt" and also "--cachedir /where/you/got/enough/space"

You btw. most likely ran "-Sy icu lib32-icu" ie. a partial update that broke pacman.

Offline

#3 2017-11-29 23:16:37

custo
Member
Registered: 2013-11-23
Posts: 64

Re: [SOLVED] pacman: error while loading shared libraries: libicuuc.so.59

Thanks, seth, --cachedir did the trick. I appreciate your help. smile

Offline

#4 2017-11-30 00:38:51

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] pacman: error while loading shared libraries: libicuuc.so.59

For anyone else who comes across this topic:

https://wiki.archlinux.org/index.php/Pa … an_upgrade

Offline

#5 2018-01-26 19:40:52

hvm
Member
Registered: 2016-10-29
Posts: 2

Re: [SOLVED] pacman: error while loading shared libraries: libicuuc.so.59

I had this issue today, I also found a solution that doesn't involve booting live.
https://forum.artixlinux.org/index.php/topic,232.0.html

Offline

#6 2018-01-26 19:47:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: [SOLVED] pacman: error while loading shared libraries: libicuuc.so.59

That "solution" is pretty dirty. The best way is to not do partial updates and avoid the problem all together. If you want to download an old package, extract it to a temp dir only and use LD_LIBRARY_PATH, do NOT extract it to /usr. If you don't know what I mean by that, just use a live disk.

Offline

Board footer

Powered by FluxBB