centos运行程序找不到libstdc++.so.6错误解决方案

运行程序时遇到找不到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 …. 解决办法: yum update libstdc++-4.4.7-3.el6.x86_64 然后再执行yum install libstdc++-4.4.7-4.el6.i686

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native