Firefox 3.6下debian挤压

时间:2011-09-19 10:43:30

标签: firefox debian

虽然我想启动我在/ opt / firefox /

下安装的Firefox 3.6

我有以下错误:

[root@box]: ./firefox-bin 
./firefox-bin: error while loading shared libraries: libxul.so: cannot open shared object file: No such file or directory

这是我的ldd输出:

ldd firefox-bin
        linux-gate.so.1 =>  (0xf77cf000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf779e000)
        libxul.so => not found
        libxpcom.so => not found
        libmozalloc.so => not found
        libplds4.so => /usr/lib32/libplds4.so (0xf779a000)
        libplc4.so => /usr/lib32/libplc4.so (0xf7796000)
        llibnspr4.so => /usr/lib32/libnspr4.so (0xf7762000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf775d000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7668000)
        libm.so.6 => /lib32/libm.so.6 (0xf7642000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7624000)
        libc.so.6 => /lib32/libc.so.6 (0xf74dd000)
        /lib/ld-linux.so.2 (0xf77d0000)

该文件也包含所有其他文件:

[root@box]: locate libxul   
 /opt/firefox/libxul.so

所以他们缺少3个文件。你能帮帮我吗?

编辑:

使用简短修复:

export LD_LIBRARY_PATH=/opt/firefox/

我在./firefox-bin

中遇到了同样的错误
./firefox-bin: error while loading shared libraries: libpangoft2-1.0.so.0: cannot open shared object file: No such file or directory

3 个答案:

答案 0 :(得分:4)

您应该使用/ opt / firefox / firefox

启动它

答案 1 :(得分:2)

看起来包管理器有问题......

ldd firefox-bin
    libxul.so => not found
    ...
locate libxul
     /opt/firefox/libxul.so

这部分可以用

解决
export LD_LIBRARY_PATH=/opt/firefox/
..../firefox-bin

LD_LIBRARY_PATH=/opt/firefox/ ..../firefox-bin

答案 2 :(得分:0)

尝试:


    sudo apt-get install ia32-libs-gtk