九零不老心
发布于 2020-11-02 / 12 阅读 / 0 评论 / 0 点赞

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