Linux下安装Firefox-3.6.12.tar.bz2及libxul.so报错解决方案

字体大小: 中小 标准 ->行高大小: 标准

在Linux下安装firefox-3.6.12.tar.bz2,解压后运行./firefox时报错:./firefox-bin: error while loading shared libraries: ./libxul.so: cannot restore segment prot after reloc: Permission denied

解决方法如下:

以如下命令运行你解压目录下的libxul.so

[root@localhost firefox]# chcon -t texrel_shlib_t /路径/libxul.so
[root@localhost firefox]# ./firefox

安装过程如下:

1、到官方网站上下载firefox-3.6.12.tar.bz2或最新版本,解压:

[root@localhost ~]# tar xjvf firefox-3.6.12.tar.bz2

2、进入解压后的firefox目录,用以下命令运行libxul.so

[root@localhost firefox]# chcon -t texrel_shlib_t /root/firefox/libxul.so

3、启动firefox

[root@localhost firefox]# ./firefox

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/60979.html