Firestorm 需要 32 位库,但似乎不可用

Firestorm 需要 32 位库,但似乎不可用

以下内容可以说明我的困境:

输出:

yogich@yogich-HP-15-Notebook-PC:~/firestorm$ ./firestorm
64-bit Linux detected.
Multi-arch support detected for i386.
Multi-arch support detected for amd64.
LIBGL_DRIVERS_PATH is /usr/lib/i386-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib64/dri:/usr/lib32/dri:/usr/lib/dri
Running from /home/yogich/firestorm

还有什么办法?运行桌面符号链接,不行;从文件管理器运行,也不行。

./firestorm: line 179: bin/do-not-directly-run-firestorm-bin: No such file or directory 
*** Bad shutdown ($LL_RUN_ERR). ***

You are running the Firestorm Viewer on a x86_64 platform.  The
most common problems when launching the Viewer (particularly
'bin/do-not-directly-run-firestorm-bin: not found' and 'error while
loading shared libraries') may be solved by installing your Linux
distribution's 32-bit compatibility packages.
For example, on Ubuntu and other Debian-based Linuxes you might run:
$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl

因此,我复制/粘贴命令行:

yogich@yogich-HP-15-Notebook-PC:~/firestorm$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
[sudo] password for yogich: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5

瞧:

E: Package 'ia32-libs' has no installation candidate
E: Unable to locate package ia32-libs-gtk
E: Unable to locate package ia32-libs-kde
E: Unable to locate package ia32-libs-sdl</pre>

答案1

您需要从旧的存储库安装 32 位库。请注意,这是一种不好的做法,有时可能会产生不良影响但建议烈火风暴wiki。您可以进行完整的 32 位安装,也可以只安装所需的 32 位库

完整 32 位安装

此方法安装以前发行版中的 32 位库

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse"
sudo apt-get update
sudo apt-get install ia32-libs

一旦一切正常,最好删除ia32-libs-raring.list/etc/apt/sources.list.d然后执行sudo apt-get update

还有一个选项可以只安装所需的 32 位库,如维基百科如果您不想进行完整的 32 位安装。

仅安装所需的 32 位库

确保已启用 32 位体系结构支持:

sudo dpkg --add-architecture i386
sudo apt-get update

安装基础库:

sudo apt-get install libglu1-mesa:i386 libgtk2.0-0:i386 libidn11:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libqtwebkit4:i386

安装 gstreamer0.10 库:

sudo apt-get install gstreamer0.10-ffmpeg:i386 gstreamer0.10-pulseaudio:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 gstreamer0.10-plugins-bad:i386 gstreamer0.10-plugins-ugly:i386

根据您的系统,您可能还需要安装esound-commonlibao-commonlibao4 pulseaudio-esound-compat

如果您在运行 Firestorm 时遇到问题,您还应该尝试安装以下软件包。请注意,以下代码中提到的某些软件包可能已作为您通过运行上述代码安装的其他软件包的一部分安装。另外笔记libstdc++尝试删除系统中安装的一些软件包, 所以仔细读在按下回车键之前要卸载什么!

sudo apt-get install libstdc++-4.8-pic:i386 
sudo apt-get install libapr1:i386 libaprutil1:i386 libgl1-mesa-dev-lts-trusty:i386 
sudo apt-get install libatk1.0-0:i386 libdb5.3:i386 libfontconfig1:i386 libfreetype6:i386 libuuid1:i386 libx11-6:i386 libxinerama1:i386 libxrender1:i386

咨询维基百科了解更多信息。

相关内容