LinuxSir.cn,穿越时空的Linuxsir!

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

firefox 1.5.0.1不能运行?

[复制链接]
发表于 2006-3-11 03:51:29 | 显示全部楼层 |阅读模式
下了最新的1.5.0.1,但是不能运行
[root@localhost firefox]# sh ./run-mozilla.sh

run-mozilla.sh: Cannot execute .
去主页上看了,说要
Linux kernel - 2.2.14 or higher with the following libraries or packages:
glibc 2.3.2 or higher
XFree86-3.3.6 or higher
gtk+2.0 or higher
fontconfig (also known as xft)
libstdc++5
我是个新手,请问如何知道自己的系统是否满足以上的条件?:help
发表于 2006-3-11 07:39:02 | 显示全部楼层
FF已经有URPMI了
另,启动命令是另外一个,不是那个SHELL脚本
回复 支持 反对

使用道具 举报

发表于 2006-3-11 10:37:15 | 显示全部楼层
启动程序是解包后根目录下的
  bin/firefox
脚本,它会去启动同一目录下的 firefox-bin可执行程序。

当然你应当先把 bin路径加到你的PATH环境变量中。
回复 支持 反对

使用道具 举报

发表于 2006-3-11 18:50:58 | 显示全部楼层
你怎么安装的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-12 10:09:33 | 显示全部楼层
[cyx@localhost firefox]$ ./firefox
./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
说缺少libstdc++.so.5
机器上运行whereis
[cyx@localhost ~]$ whereis libstdc++.so.5
libstdc++.so: /usr/lib/libstdc++.so.6
得到的就是这个。作了个符号连接
[root@localhost lib]# ln -s libstdc++.so.6.0.5 libstdc++.so.5
再运行
[cyx@localhost firefox]$ ./firefox
./firefox-bin: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./firefox-bin)
./firefox-bin: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./firefox-bin)
./firefox-bin: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./libxpcom_core.so)
./firefox-bin: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./libxpcom_core.so)
./firefox-bin: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./libxpcom_compat.so)
得到以上错误,上网查到这两个库不兼容。
现在的 问题是怎么才能得到libstdc++.so.5这个文件?如果从包含这文件的包里直接抽出linstdc++.so.5一个文件,复制到/usr/lib目录下,而包里的其他文件都不安装,可不可以?
回复 支持 反对

使用道具 举报

发表于 2006-3-12 13:19:04 | 显示全部楼层
建议你用URPMI装好了。如果要解决那个文件的问题可以看顶贴
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-12 16:35:48 | 显示全部楼层
去网上找了个libstdc++5-3.3.6-2mdk.i586 装了起来,在/usr/lib下终于有了libstdc++.so.5了,可是运行firefox出现新问题
[cyx@localhost firefox]$ ./firefox
*** glibc detected *** double free or corruption (out): 0x08bf9ae8 ***

不知道是什么原因?:help
回复 支持 反对

使用道具 举报

发表于 2006-3-12 19:46:48 | 显示全部楼层
SCIM 问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-14 13:06:48 | 显示全部楼层
在firefox文件头加上
GTK_IM_MODULE=xim,可以正常启动,也可以在firefox里输入中文。
哪位可以解释GTK_IM_MODULE=xim的意思?
新手,想知道的多,但不知道的更多,如若提问内容和方式有冒犯大家的,请见谅!
回复 支持 反对

使用道具 举报

发表于 2006-3-14 13:51:11 | 显示全部楼层
GTK_IM_MODULE=xim 意思是设置 GTK 程序的输入法模式为 xim。SCIM 向前支持 xim 模式,这样可以兼容一些较老的程序。
回复 支持 反对

使用道具 举报

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

本版积分规则

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