Debian 挤压下的 Firefox 3.6

发布于 2024-12-05 10:23:03 字数 1466 浏览 2 评论 0原文

当我想启动安装在 /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

While I want to start my Firefox 3.6 which I installed under /opt/firefox/

I have the Following Error:

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

Here is my ldd output:

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)

The file is there an all the others too:

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

So they are 3 files missing. Can you help to get me them?

EDIT:

With the short fix:

export LD_LIBRARY_PATH=/opt/firefox/

I get the same error with ./firefox-bin

./firefox-bin: error while loading shared libraries: libpangoft2-1.0.so.0: cannot open shared object file: No such file or directory

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

薄暮涼年 2024-12-12 10:23:03

你应该用 /opt/firefox/firefox 启动它

You should start it with /opt/firefox/firefox

坏尐絯 2024-12-12 10:23:03

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

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

Looks like there is something wrong with you package mananger ...

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

this part can be solved with

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

or

LD_LIBRARY_PATH=/opt/firefox/ ..../firefox-bin
℡Ms空城旧梦 2024-12-12 10:23:03

尝试:

    sudo apt-get install ia32-libs-gtk

Try:

    sudo apt-get install ia32-libs-gtk

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文