目前安装了nvm,但是无法运行nodejs,系统环境是 FNL 主机 + 黄金会员能申请ssh
ivzddrlb_ssh@hc.e-hai.one:~$ nvm install --lts
Installing latest LTS version.
Downloading and installing node v20.17.0...
Local cache found: ${NVM_DIR}/.cache/bin/node-v20.17.0-linux-x64/node-v20.17.0-linux-x64.tar.gz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/bin/node-v20.17.0-linux-x64/node-v20.17.0-linux-x64.tar.gz
Now using node v20.17.0
ivzddrlb_ssh@hc.e-hai.one:~$ node -v
node: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
ivzddrlb_ssh@hc.e-hai.one:~$ npm -v
node: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
ivzddrlb_ssh@hc.e-hai.one:~$
经过检查,这个系统看起来是受到了亿点限制,而且/usr/lib/x86_64-linux-gnu/
并没有libdl.so.2
这个库(/lib/
被重定向到/usr/lib/
)
也无法用什么工具补全,sudo apt-get install libc6
告诉我没有sudo
,apt-get install libc6
告诉我没有apt-get