-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Description
- Version: 8.3.0
- Platform:Linux automation-reporting 2.6.32-696.6.3.el6.x86_64 deps: update openssl to 1.0.1j #1 SMP Wed Jul 12 14:17:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem:
I installed node on my system:
% curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
% sudo yum -y install nodejs
When I attempted to use it, it reported shared library errors:
% npm --version
node: error while loading shared libraries: cannot allocate memory in static TLS block
% node --version
node: error while loading shared libraries: cannot allocate memory in static TLS block
I am running CentOS 6, on which the only glibc option is 2.12:
% ldd --version
ldd (GNU libc) 2.12
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
I was able to work around the problem by removing version 8.3.0 and installing version 8.2.1 instead:
% yum remove nodejs
...
% yum -y install nodejs-8.2.1
% npm --version
5.3.0
Metadata
Metadata
Assignees
Labels
No labels