在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