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 v18 supports GLIBC v2.7 or later. When you attempt to install Node v18.x on any Linux OS that has GLIBC v2.6 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:

Copy$ ldd --version

I can suggest three options to resolve this issue:

  1. Either install Node from source code. This will allow you to recompile
  2. Or install an older version of Node that your OS can support
  3. Or upgrade your Linux OS to a newer version.

Reference: Install Node from source code

Answer from Bruce Malaudzi on Stack Overflow
Discussions

Installing node package using tools - Community - Jenkins
When configuring the installation of a specific version of NodeJs, when running the tests I came across some dependency errors. Are these dependencies also resolved by installing via tools? Could someone help me please. … More on community.jenkins.io
🌐 community.jenkins.io
0
April 9, 2024
Node.js is showing error "node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)"
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 ... More on github.com
🌐 github.com
23
March 28, 2024
RHEL 7.9 GLIBC Errors
Version v18.16.0 Platform Linux user@company.net 3.10.0-1160.80.1.el7.x86_64 #1 SMP Sat Oct 8 18:13:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bu... More on github.com
🌐 github.com
3
June 13, 2023
Glibc_2.32' not found
I install jenkins in docker,when I run jenkins pipeline get this error: docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by docker) docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by docker) this is the conetnt of jenkinsfile. ... More on forums.docker.com
🌐 forums.docker.com
3
0
August 5, 2023
🌐
GitHub
github.com › jenkinsci › npm-yarn-wrapper-steps-plugin › issues › 17
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.xx' not found (required by node) · Issue #17 · jenkinsci/npm-yarn-wrapper-steps-plugin
withNPMWrapper(credentialsId: "jenkins-npm-credentials") { npm "--version" } Observe the following in the console output from the job: [Pipeline] withNPMWrapper Downloading and installing node v19.5.0... Downloading https://nodejs.org/dist/v19.5.0/node-v19.5.0-linux-x64.tar.xz... ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node) nvm is not compatible with the npm config "prefix" option: currently set to "" Run `npm config delete prefix` or `nvm use --delete-prefix v19.5.0` to unset it.
Author   jenkinsci
🌐
Bobby Hadz
bobbyhadz.com › blog › node-glibc-not-found-required-by-node
node: version `GLIBC_2.28` not found (required by node) | bobbyhadz
April 5, 2024 - The error "node: version GLIBC_2.28 not found (required by node)" occurs when the node binary you're trying to install was built on a GLIBC-2.27 or more recent system. To solve the error, install a Node.js version that is compatible with your ...
🌐
Jenkins
community.jenkins.io › t › installing-node-package-using-tools › 14073
Installing node package using tools - Community - Jenkins
April 9, 2024 - When configuring the installation of a specific version of NodeJs, when running the tests I came across some dependency errors. Are these dependencies also resolved by installing via tools? Could someone help me please. See the test log below [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool Unpacking https://nodejs.org/dist/v21.6.0/node-v21.6.0-linux-x64.tar.gz to /var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node_v18 on Jenkin...
🌐
GitHub
github.com › nodejs › node › issues › 52241
Node.js is showing error "node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)" · Issue #52241 · nodejs/node
March 28, 2024 - 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 ...
Author   nodejs
🌐
Letscodepare
letscodepare.com › blog › nvm-installed-getting-glibc-and-glibcxx-error-on-linux
NVM installed, Getting GLIBC and GLIBCXX Error on Linux | Let's Code Pare
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)
Find elsewhere
🌐
tutorialpedia
tutorialpedia.org › blog › installing-node-lib64-libm-so-6-version-glibc-2-27-not-found-required-by-node-error-on-linux
Fixing '/lib64/libm.so.6: version `GLIBC_2.27' not found' Error When Installing Node.js on Linux: Next Steps Guide — tutorialpedia.org
If you can’t upgrade your OS or GLIBC, the simplest fix is to use a Node.js version that works with your current GLIBC. First, confirm your system’s GLIBC version. Run: strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_ | tail -n 1 # For Debian/Ubuntu # OR (for RHEL/CentOS) strings /lib64/libc.so.6 | grep GLIBC_ | tail -n 1
🌐
JetBrains
youtrack.jetbrains.com › issue › JBR-7687 › IDEA-2024.3-EAP3-wont-start-on-CentOS-7-jbr-lib-server-libjvm.so-because-lib64-libm.so.6-version-GLIBC2.27-not-found
IDEA 2024.3 EAP3 won't start on CentOS 7 (jbr/lib/server/libjvm.so, because /lib64/libm.so.6: version `GLIBC_2.27' not found) : JBR-7687
Such errors usually may occur when you install software on an operating system that has a version of GLIBC that is lower than the software can support. Similar discussion: https://stackoverflow.com/questions/74698021/installing-node-lib64-libm-so-6-version-glibc-2-27-not-found-required-by-n
🌐
Saturn Cloud
saturncloud.io › blog › how-to-solve-the-glibc227-not-found-error-while-installing-node-on-amazon-ec2-instance
Saturn Cloud | Saturn Cloud | The Control Plane for GPU Clouds
June 19, 2023 - Saturn Cloud is the white-labeled control plane for GPU clouds: multi-tenant isolation, day-2 support, and integrated billing, running in your cloud under your brand.
🌐
GitHub
github.com › nodejs › node › issues › 48453
RHEL 7.9 GLIBC Errors · Issue #48453 · nodejs/node
June 13, 2023 - Now using node v18.16.0 (npm v) node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node) node: /lib64/libc.so.6: version `GLIBC_2.28' 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.20' not found (required by node) node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node) $ node --version node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /l
Author   nodejs
🌐
Docker Community
forums.docker.com › docker hub
Glibc_2.32' not found - Docker Hub - Docker Community Forums
August 5, 2023 - I install jenkins in docker,when I run jenkins pipeline get this error: docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by docker) docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by docker) this is the conetnt of jenkinsfile. pipeline { agent { docker { image 'node:14' reuseNode true } } stages { stage('Test') { steps { sh 'node --versio...
🌐
Travis CI Community
travis-ci.community › deployment
Deployment Fails with node 20 - Deployment - Travis CI Community
March 21, 2024 - In an attempt to deploy to npm with Node 20 (which also happens to be the latest LTS version), I’m getting the following error message: t3.83s$ nvm install 20 node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' …
🌐
Travis CI Community
travis-ci.community › languages › node.js
Node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node) - Node.js - Travis CI Community
March 1, 2023 - Hi, When attempting any kind of nodejs build with Travis, I get the following errors: node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gn...
🌐
GitHub
github.com › nodejs › node › issues › 46412
Node v18 on RHEL/OEL/CentOS version 7.x · Issue #46412 · nodejs/node
January 30, 2023 - ./node: /lib64/libm.so.6: version GLIBC_2.27' not found (required by ./node) ./node: /lib64/libc.so.6: version GLIBC_2.25' not found (required by ./node) ./node: /lib64/libc.so.6: version GLIBC_2.28' 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.20' not found (required by ./node) ./node: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./node)
Author   nodejs
🌐
Opalstack Community
community.opalstack.com › d › 1076-unable-to-install-node-18121-lts
Unable to install Node 18.12.1 (LTS) - Opalstack Community Forum
December 25, 2022 - Discussion for Opalstack web and email hosting, the managed hosting service for developers and businesses like yours!
🌐
GitHub
github.com › QwenLM › qwen-code › issues › 2926
Install error `node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)` · Issue #2926 · QwenLM/qwen-code
April 6, 2026 - bash -c "$(curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen.sh)" -s --source qwenchat ========================================== Qwen Code Installation Script ========================================== ℹ️ System: Linux 3.10.0-693.el7.x86_64 ℹ️ Shell: bash node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node) node: /lib64/libc.so.6: version `GLIBC_2.27' 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
Author   QwenLM