LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1254|回复: 9

Firefox 2.0 安装问题

[复制链接]
发表于 2007-3-25 14:13:54 | 显示全部楼层 |阅读模式
我下载了官方的firefox-2.0.0.3.tar.gz,解压到了 /usr/local/firefox/
运行sh firefox提示如下:
[root@localhost firefox]# sh firefox
./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
使用find命令查找libstdc++.so.5确实没有找到,在更新了gcc一系列软件包后仍然没有该文件
[root@localhost firefox]# rpm -qa | grep libstd
libstdc++-4.1.2-1
libstdc++-devel-4.1.2-1
请问怎样才能得到libstdc++.so.5文件?
发表于 2007-3-25 14:32:55 | 显示全部楼层
不用装的 ./firefox就打开了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-25 14:45:37 | 显示全部楼层
[root@localhost firefox]# ./firefox
./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[root@localhost firefox]# ./firefox-bin
./firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
回复 支持 反对

使用道具 举报

发表于 2007-3-25 17:10:16 | 显示全部楼层
#yum install libstdc++5
回复 支持 反对

使用道具 举报

发表于 2007-3-25 18:08:13 | 显示全部楼层
安装这个文件compat-libstdc++-8-3.3.4.2.i386.rpm
http://rpm.pbone.net/上好象有
回复 支持 反对

使用道具 举报

发表于 2007-3-25 21:17:02 | 显示全部楼层
我也是遇到了同样的问题,通过charliechan的方法解决。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 11:44:41 | 显示全部楼层
怎么只有4.x没有5.x

You have chosen search in content of rpms.
Display 1 - 6 hits of 6. Search took 6.92 seconds.
Search results for libstdc++ :
Fedora 6  download.fedora.redhat.com/pub/fedora/linux/core/updates/6/x86_64/libstdc++-4.1.1-51.fc6.x86_64.rpm
Fedora 6  download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/libstdc++-4.1.1-51.fc6.i386.rpm
Fedora 6  download.fedora.redhat.com/pub/fedora/linux/core/updates/6/x86_64/libstdc++-4.1.1-51.fc6.i386.rpm
Fedora 6  download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/Fedora/RPMS/libstdc++-4.1.1-30.x86_64.rpm
Fedora 6  download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/libstdc++-4.1.1-30.i386.rpm
Fedora 6  download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/Fedora/RPMS/libstdc++-4.1.1-30.i386.rpm

RPM resource libstdc++
This is the GNU implementation of the standard C++ libraries This package includes the shared libraries necessary to run C++ applications.

Found 2 sites for libstdc++
http://gcc.gnu.org
http://gcc.gnu.org/
Found 104 RPM for libstdc++
libstdc++-4.1.1-51.fc6.i386.html GNU Standard C++ Library Fedora Core 6 updates for i386 libstdc++-4.1.1-51.fc6.i386.rpm
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 11:49:20 | 显示全部楼层
并且我是安装了libstdc++的,见楼顶
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-31 15:47:59 | 显示全部楼层
up
up
up
回复 支持 反对

使用道具 举报

发表于 2007-4-1 10:29:48 | 显示全部楼层
因为libstdc++.so.5 是GCC 3.3 版本生成的,而Fedora Core 4自带的编译器是GCC 4.0,生成的是 libstdc++.so.6。

#yum install libstdc++.so.5

不想yum的话就装compat-libstdc++-33,这个你搜索下应该就有了。

这里:http://www.silverfox.name/archive/119
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表