我在为共享托管服务器中的单个用户更新由 NVM 包安装的 node.js 时遇到问题。每当我们尝试切换到较新的版本时,都会显示此错误:
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by node)
就我而言,这些依赖项位于根目录中。但我不确定是否要继续更新还是保持原样...
我的问题是:
有没有办法在不影响服务器其余部分的情况下更新这些库? 有没有其他方法可以在不影响该服务器其余客户端的情况下更新节点?
任何帮助都将不胜感激,提前致谢