【解决】缺少libstdc++.so.6库的原因及解决的方法


问题原因:
系统是64bit,该库是32bit的,在64bit系统上安装32bit库


解决的方法:
1. 查看哪个安装包包括该库:yum provides libstdc++.so.6
   libstdc++-4.4.7-4.el6.i686
2. 安装 libstdc++-4.4.7-4.el6.i686
    yum install  libstdc++-4.4.7-4.el6.i686
   报错:
--> Finished Dependency Resolution
Error: Protected multilib versions: libstdc++-4.4.7-4.el6.i686 != libstdc++-4.4.7-3.el6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
    2.1 解决的方法:
    yum  update  libstdc++-4.4.7-3.el6.x86_64
然后再运行步骤2的命令


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM