Jan 26

缺少libstdc++.so.5 ,无法运行程序。 不指定

ouwsh , 13:38 , 技术随笔 , 评论(0) , 引用(0) , 阅读(5288) , Via 本站原创 | |
安装时出现问题了:
引用
[root@localhost firefox]# ./firefox
./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory


FC 4 默认自带的编译器是GCC 4.0 ,而 libstdc++.so.5 是GCC 3.3 版本生成的(firefox由 GCC 3.3.2 编译),FC 4 的 GCC 4.0 生成的是 libstdc++.so.6 ,试试用 yum 能不能直接安装 libstdc++.so.5 吧。

#yum install libstdc++.so.5

不过,若使用了 SCIM ,安装 libstdc++.so.5 可能会和 scim 有冲突。
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]