You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check node --version cmd which is failing with error
Error:
node --version
node: /lib64/libm.so.6: version GLIBC_2.27' not found (required by node) node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by node)
node: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by node) node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by node)
node: /lib64/libc.so.6: version GLIBC_2.28' not found (required by node) node: /lib64/libc.so.6: version GLIBC_2.25' not found (required by node)
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
node --version
v20.11.0
What do you see instead?
node --version
node: /lib64/libm.so.6: version GLIBC_2.27' not found (required by node) node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by node)
node: /lib64/libstdc++.so.6: version CXXABI_1.3.9' not found (required by node) node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by node)
node: /lib64/libc.so.6: version GLIBC_2.28' not found (required by node) node: /lib64/libc.so.6: version GLIBC_2.25' not found (required by node)
Additional information
No response
The text was updated successfully, but these errors were encountered:
This error happens when you install Node on an operating system that has a version of GLIBC that is lower than Node can support. For example, Node v20 supports GLIBC v2.27 or later. When you attempt to install Node v20.x on any Linux OS that has GLIBC v2.27 or lower, you will get such errors.
To see the version of GLIBC that your operating system has, execute the ldd command on the terminal:
$ ldd --version
you will get output like this.
ldd (Ubuntu GLIBC 2.35-0ubuntu3.6) 2.35
I can suggest three options to resolve this issue:
Either install Node from source code. This will allow you to recompile
Or install an older version of Node that your OS can support
Version
node-v20.11.0-linux-x64.tar.xz
Platform
Linux yogVM 5.4.17-2136.325.5.1.el7uek.x86_64
Subsystem
No response
What steps will reproduce the bug?
Error:
node --version
node: /lib64/libm.so.6: version
GLIBC_2.27' not found (required by node) node: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.20' not found (required by node)node: /lib64/libstdc++.so.6: version
CXXABI_1.3.9' not found (required by node) node: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.21' not found (required by node)node: /lib64/libc.so.6: version
GLIBC_2.28' not found (required by node) node: /lib64/libc.so.6: version
GLIBC_2.25' not found (required by node)How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
node --version
v20.11.0
What do you see instead?
node --version
node: /lib64/libm.so.6: version
GLIBC_2.27' not found (required by node) node: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.20' not found (required by node)node: /lib64/libstdc++.so.6: version
CXXABI_1.3.9' not found (required by node) node: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.21' not found (required by node)node: /lib64/libc.so.6: version
GLIBC_2.28' not found (required by node) node: /lib64/libc.so.6: version
GLIBC_2.25' not found (required by node)Additional information
No response
The text was updated successfully, but these errors were encountered: