其他分享
首页 > 其他分享> > error while loading shared libraries: libc.so.6

error while loading shared libraries: libc.so.6

作者:互联网

参考文档:
遭遇“ 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
 

标签:loading,libc,libraries,so.6,shared,lib64
来源: https://blog.csdn.net/qq_29684215/article/details/120765970