'error while loading shared libraries: libicui18n.so.68
I got this error after installing nodejs and npm using pacman
node: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory
I already tried setting LD_LIBRARY_PATH to /usr/local/lib/ and that hasn't worked and I also have tried looking for the file everywhere and haven't found it.
LD_LIBRARY_PATH=/usr/local/lib/
find / -iname libicui18n.so.68
Solution 1:[1]
I ran into the same issue, but updating the system resolved it for me. Use:
$ pacman -Syu
Solution 2:[2]
libicui18n.so.68 is provided by core/icu package and it is located in /usr/lib
$ pacman -F libicui18n.so
core/icu 65.1-2 [installed: 68.2-1]
usr/lib/libicui18n.so
$ pacman -Qo /usr/lib/libicui18n.so.68
/usr/lib/libicui18n.so.68 is owned by icu 68.2-1
Solution 3:[3]
Check what version of node-js
you are using.
Try installing nodejs
. If you get a conflict that another nodejs
is installed that is probably your issue.
Example:
nodejs and nodejs-lts-dubnium are in conflict. Remove nodejs-lts-dubnium? [y/N] y
Solution 4:[4]
I am new to arch linux however when I try to update package icu it finds conflict for two dependencies. Including them also :
sudo pacman -Sy brltty harfbuzz-icu icu
solved smb service problem and cleanly restarted samba server ... which was giving an error :
/usr/bin/smbd: error while loading shared libraries: libicui18n.so.71: cannot open shared object file: No such file or directory
icu dep error was :
X@Y ~ $ sudo pacman -S icu
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (71.1-1) breaks dependency 'libicuuc.so=70-64' required by brltty
:: installing icu (71.1-1) breaks dependency 'libicuuc.so=70-64' required by harfbuzz-icu
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | odili |
Solution 2 | slamp |
Solution 3 | richardec |
Solution 4 | Gediz GÃœRSU |