node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28‘ not found (required by node)

node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by node)

解决

sudo apt install bison

wget  https://mirror.bjtu.edu.cn/gnu/libc/glibc-2.28.tar.xz

tar -xf glibc-2.28.tar.xz -C /usr/local

cd /usr/local/glibc-2.28/

mkdir build

cd build/
../configure --disable-sanity-checks
make
make install

你可能感兴趣的:(计算机应用技术,linux,gnu,运维)