查看谁提供这个.so

yum whatprovides libstdc++.so.6
error while loading shared libraries: libstdc++.so.6: cannot open shared object file

 

 
yum install libstdc++.so.6  #安装上边查出来的.so

此时如果出错,最后一行是libstdc++-4.8.5-28.el7.i686 != libstdc++-4.8.5-11.el7.x86_64

error while loading shared libraries: libstdc++.so.6: cannot open shared object file

 

yum update libstdc++-4.8.5-11.el7.x86_64  #更新一下,这个是上边红框圈起来的后边带_64的那个lib...x86_64

最后再重复一遍

 

error while loading shared libraries: libstdc++.so.6: cannot open shared object file

 

 

yum whatprovides libstdc++.so.6
yum install libstdc++.so.6  #这个是上条命令查出来的
 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
  • 2021-07-21
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
猜你喜欢
  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-12-29
  • 2021-09-06
相关资源
相似解决方案