在Linux系统安装程序时经常遇到“libstdc++.so.5找不到”的问题,例如提示“libstdc++.so.5: cannot open shared object file: No such file or directory”。
从网上找资料和亲手实践后,把解决方法描述如下:
CentOS/fedora
在Terminal窗口中运行:
# yum whatprovides libstdc++.so.5
# yum install compat-libstdc++-33
或者
#wget -S http://mirrors.ispros.com.bd/centos/5.8/os/x86_64/CentOS/compat-libstdc++-33-3.2.3-61.x86_64.rpm
# rpm -ivh compat-libstdc++-33-3.2.3-61.x86_64.rpm
从网上找资料和亲手实践后,把解决方法描述如下:
CentOS/fedora
在Terminal窗口中运行:
# yum whatprovides libstdc++.so.5
# yum install compat-libstdc++-33
或者
#wget -S http://mirrors.ispros.com.bd/centos/5.8/os/x86_64/CentOS/compat-libstdc++-33-3.2.3-61.x86_64.rpm
# rpm -ivh compat-libstdc++-33-3.2.3-61.x86_64.rpm