Updating GLIBC on CentOS 7

Dec 16, 2024 · 1 min read · 39 Words · -Views -Comments · Digital Life
🇨🇳 阅读中文版
Read with AI

Choose an AI assistant

ChatGPT Open in a new tab with the article link and prompt
Claude Copy the prompt, then open Claude

Open Claude
Trouble reading the article?

If the prompt is missing, copy the full prompt below into your AI assistant. If the AI cannot read the article, paste the visible passage you want to discuss and add your question.

When executing npm commands on the target server, I encountered the error “node: /lib64/libm.so.6: version `GLIBC_2.27’ not found (required by node)”. Here I’ll mark down the repair process.

Commands

# Check current version
ldd --version

# Download
wget http://ftp.gnu.org/gnu/libc/glibc-2.25.tar.gz
Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover