Skip to content

unable to execute node command on centos 9 stream #82

@zhanhb

Description

@zhanhb
sudo snap install --classic node
# node (22/stable) 22.18.0 from OpenJS Foundation (iojs✓) installed
/var/lib/snapd/snap/bin/node
# /var/lib/snapd/snap/node/10504/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /var/lib/snapd/snap/node/10504/bin/node)
uname -a
# Linux host.example.com 6.1.148-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 15 12:04:10 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux
yum info libstdc++
Installed Packages
Name         : libstdc++
Version      : 11.5.0
Release      : 11.el9
Architecture : x86_64
Size         : 2.5 M
Source       : gcc-11.5.0-11.el9.src.rpm
Repository   : @System
From repo    : baseos
Summary      : GNU Standard C++ Library
URL          : http://gcc.gnu.org
License      : GPLv3+ and GPLv3+ with exceptions and
             : GPLv2+ with exceptions and LGPLv2+ and
             : BSD
Description  : The libstdc++ package contains a
             : rewritten standard compliant GCC
             : Standard C++ Library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions