You are not logged in.

#1 2025-12-22 23:44:17

tvmaaren
Member
From: Netherlands
Registered: 2025-12-22
Posts: 3

node: error while loading shared libraries: libicuuc.so.76: cannot ope

My installation is completely up to date, but when I run

node

I get

node: error while loading shared libraries: libicuuc.so.76: cannot open shared object file: No such file or directory

Here some extra information:

which node
ldd $(which node) | grep icu
node --version

/usr/bin/node
    libicuuc.so.76 => not found
    libicui18n.so.76 => not found
node: error while loading shared libraries: libicuuc.so.76: cannot open shared object file: No such file or directory

I do have the file libicuuc.so.78, so I  think nodejs assumes that the package icu is still in version 76  which is not the case.

Offline

#2 2025-12-22 23:53:46

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,462
Website

Re: node: error while loading shared libraries: libicuuc.so.76: cannot ope

What's the output of

type -a node

and

pacman -Qo /usr/bin/node

Mod note: moving to NC.

Last edited by WorMzy (2025-12-22 23:54:26)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2025-12-22 23:53:51

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,523
Website

Re: node: error while loading shared libraries: libicuuc.so.76: cannot ope

Which version of icu do you have installed? Please post the output of both "pacman -Q icu" and "pacman -Qqo /usr/bin/node"

Offline

#4 2025-12-22 23:59:14

tvmaaren
Member
From: Netherlands
Registered: 2025-12-22
Posts: 3

Re: node: error while loading shared libraries: libicuuc.so.76: cannot ope

dear WorkMzy and gromit,

Thank you for your reply. Here are the outputs of the commands you gave.

type -a node

node is /usr/bin/node
node is /bin/node

pacman -Qo /usr/bin/node

/usr/bin/node is owned by nodejs-lts-hydrogen 18.20.6-1

pacman -Q icu

icu 78.1-1

pacman -Qqo /usr/bin/node

nodejs-lts-hydrogen

Offline

#5 2025-12-23 00:17:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: node: error while loading shared libraries: libicuuc.so.76: cannot ope

nodejs-lts-hydrogen hasn't been in the repos for some time. You need to either upgrade to a supported version, or rebuild things yourself against the new library.

Offline

#6 2025-12-23 00:20:28

tvmaaren
Member
From: Netherlands
Registered: 2025-12-22
Posts: 3

Re: node: error while loading shared libraries: libicuuc.so.76: cannot ope

Problem solved!

I don't understand what hapenned, but when I ran

sudo pacman -Syu nodejs

I got the message that nodejs and nodejs-lts-hydrogen are in conflict. I removed nodejs-lts-hydrogen, it did some updates and now it all works. This seems odd to me as I would assume that when I ran

sudo pacman -Syu

it would also mention this conflict.

Last edited by tvmaaren (2025-12-23 00:22:04)

Offline

#7 2025-12-23 09:08:37

Whoracle
Member
Registered: 2010-11-02
Posts: 206

Re: node: error while loading shared libraries: libicuuc.so.76: cannot ope

Nope. pacman -Syu updates installed packages - in your case nodejs-lts-hydrogen, for which there is no new version available. It will not install additional packages unless they are a new dependency of something already installed. And since nodejs-lts-hydrogen provides nodejs from a -Syu perspective everything is a-OK, unless something depends on a specific VERSION of nodejs that nodejs-lts-hydrogen doesn't provide.

pacman -Syu nodejs however installs a new package that conflicts.

Last edited by Whoracle (2025-12-23 09:09:11)

Offline

Board footer

Powered by FluxBB