You are not logged in.
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
What's the output of
type -a nodeand
pacman -Qo /usr/bin/nodeMod 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
Which version of icu do you have installed? Please post the output of both "pacman -Q icu" and "pacman -Qqo /usr/bin/node"
Offline
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
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
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
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