【发布时间】:2021-04-07 17:07:35
【问题描述】:
使用 pacman 安装 nodejs 和 npm 后出现此错误
node: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory
我已经尝试将 LD_LIBRARY_PATH 设置为 /usr/local/lib/,但没有奏效,我还尝试在各处寻找该文件,但没有找到。
LD_LIBRARY_PATH=/usr/local/lib/
find / -iname libicui18n.so.68
【问题讨论】:
-
似乎是 NodeJS 设计中的一个缺陷。我的系统使用 0.70,但构建一个应用程序需要 0.69。如果我这样做
ls /usr/lib/libicui18n.so.*,我只会看到 .70 版本,而没有以前的版本。那是谁的错?我责怪 NodeJS :-) -
@PJBrunet - 你用的是什么系统?我为arch bugs.archlinux.org/…创建了一个线程
-
@andre Manjaro.