error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

因为升级glibc失败,导致本地好多命令不可用,修复命令如下:
LD_PRELOAD=/lib64/libc-2.12.so ln -s /lib64/libc-2.12.so /lib64/libc.so.6

You may also like...