【问题标题】:error while loading shared libraries: cannot allocate memory in static TLS block加载共享库时出错:无法在静态 TLS 块中分配内存
【发布时间】:2017-08-12 04:47:14
【问题描述】:

我正在尝试在我的 centos 机器上安装 nodejs,但得到以下错误,任何人都可以建议。

[root@ip-10-1-202-188 /]# npm install nodejs node: error while loading shared libraries: cannot allocate memory in static TLS block

【问题讨论】:

    标签: node.js


    【解决方案1】:

    这是由于与 glibc 相关的问题。假设您从 NodeSource 存储库之一安装,here 是相关的现有问题。

    如果您从源代码编译或使用来自 nodejs.org 的预编译二进制文件之一或使用 nvm,这应该不是问题。

    【讨论】:

      猜你喜欢
      • 2018-01-20
      • 2013-10-12
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      • 2021-09-12
      • 2021-12-21
      • 2020-11-28
      • 1970-01-01
      相关资源
      最近更新 更多