现象:

/bin/ls: error while loading shared libraries: libc.so.6: cannot open shared

报错原因:

将/lib64/libc.so.6 移走或者更换或者重命名

解决方法:

LD_PRELOAD=/lib64/libc-2.12.so rm -f libc.so.6
LD_PRELOAD=/lib64/libc-2.12.so ln -s /lib64/libc-2.12.so /lib64/libc.so.6

相关文章:

  • 2021-05-19
  • 2021-09-18
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-08-01
猜你喜欢
  • 2021-08-22
  • 2021-09-03
  • 2021-11-25
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案