问题描述
简而言之:如何让 Squeak 5 在 x64 Linux 上运行?我不在乎可执行文件是 32 位还是 64 位,只要它运行并打开 Squeak 5 图像即可.
In short: how do I get Squeak 5 to run on x64 Linux?I dont care whether the executable is 32 or 64 bit as long as it runs and opens the Squeak 5 image.
这是我尝试过的:
当我尝试从 Squeak 5 包中运行可执行文件时,我得到: 在 64 位系统上运行 32 位 Squeak.install-libs32 可以安装它们
- 试过了.没有找到.
When I try to run the executables from the Squeak 5 package i get: Running 32-bit Squeak on a 64-bit System. install-libs32 may install them
- tried that. Wasn't found.
然后我去寻找一个 64 位的可执行文件.有一些来自 Squeak 4 但他们无法打开 Squeak 5 图像.
Then I went looking for a 64 bit executable. There are some from Squeak 4 but they can't open Squeak 5 images.
查看 Squeak 5 软件包:
Looking through the Squeak 5 package:
这两个目录中的 shell 脚本 squeak.sh
:
The shell scripts squeak.sh
in both these directories:
- Squeak-5.0-多合一/
- Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/
两者都返回此错误:
/usr/bin/ldd 没有产生任何输出,系统是 64 位的.您可能需要(重新)安装 32 位库.
在这些目录中还有名为 squeak
(没有 .sh)的误导性文件:
There are also misleading files named squeak
(no .sh) in these directories:
- Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686
- Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/bin
它们不是可执行文件,只是更多的 shell 脚本.
They are not the executable, just more shell scripts.
还有另一个squeak
文件在:
- Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/lib/squeak/5.0-3397
运行 ./squeak
误导性地说 没有这样的文件或目录
.这是误导,因为该文件确实存在,它只是一个 32 位 exe.
Running ./squeak
misleadingly says No such file or directory
. It is misleading because the file does exist, it is just a 32-bit exe.
file squeak
告诉我:ELF 32 位 LSB 可执行文件,Intel 80386
.
那么如何让它在 64 位 Linux 上运行?我可以自己编译它,但没有尝试假设有很多依赖项.或者有人试过吗?
So how do I get it to run on 64-bit Linux? I could compile it myself but haven't tried assuming there are a lot of dependencies. Or has anyone tried it?
推荐答案
您已经获得了所需的所有信息:
You already got all information you need:
您可能需要(重新)安装 32 位库.
Squeak 5 目前只有 32 位.因此,您需要 32 位库.它无法使用您的 64 位库.
Squeak 5 is currently 32bit only. Hence, you need 32bit libraries.It cannot use your 64bit libraries.
您可能需要这些:e 软件包(我使用 Debian/Ubuntu 名称,CentOS/RH/SuSE 应该类似):
You may need thes:e packages (I use Debian/Ubuntu names, CentOS/RH/SuSE should be similar):
- libc6:i386
- libuuid1:i386
- libkrb5-3:i386
- libk5crypto3:i386
- zlib1g:i386
- libcomerr2:i386
- libkrb5support0:i386
- libkeyutils1:i386
- libx11-6:i386
- libgl1-mesa-glx:i386
- libsm6:i386
- libssl1.0.0:i386
(注意名称中的 :i386
)
这篇关于让新的 Squeak 5 在 64 位 Linux 上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!