参考文档:
遭遇“ error while loading shared libraries: libc.so.6: cannot .”有关问题
usr/bin/env: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
照着一个教程:https://blog.csdn.net/fan_fan_feng/article/details/79598804里面的一句话LD_PRELOAD=/lib64/libc-2.18.so ln -sf /lib64/libc-2.18.so /lib64/libc.so.6
把libc.so.6的库搞坏了,
做法:
把错误的libc.so.6软链接删除
在/lib64 路径下
ln -s libc-2.17.so libc.so.6