Asked by D Ft
at 2024-09-18 09:54:01
Point:500 Replies:3 POST_ID:829281USER_ID:12422
Topic:
linux#lib64#nodejs
Yesterday, I have upgrade npm and nodes, and run command
node -v
it got error
[root@vmi8751296 lib64]# node -v
node: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
node: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /usr/local/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /usr/lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /usr/lib64/libc.so.6: version `GLIBC_2.27' not found (required by node)
node: /usr/lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /usr/lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
And tried to fix it by the link ,https://blog.csdn.net/hellohake/article/details/111194888
strings/libc.so.6 |grep GLIBC
find / -name " *libc.so.6*'
Want to replace the current by others whcih can haveGLIBC_2.27
After changed that, my Putty shell access is stopped. And I can NOT login ssh again
Even I tried to use resuce mode on my server still not start up
Please advise