问题描述
简而言之:如何让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软件包运行可执行文件时,我得到:Running 32-bit Squeak on a 64-bit System. install-libs32 may install them
-尝试过.找不到.
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-All-in-one/
- Squeak-5.0-All-in-One/Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/
均返回此错误:
/usr/bin/ldd didn't produce any output and the system is 64 bit. You may need to (re)install the 32-bit libraries.
在这些目录中,还有一些误导性文件,名为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
时会误导说No such file or directory
.误导是因为该文件确实存在,它只是一个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-bit LSB executable, 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:
Squeak 5当前仅32位.因此,您需要32位库.它不能使用您的64位库.
Squeak 5 is currently 32bit only. Hence, you need 32bit libraries.It cannot use your 64bit libraries.
您可能需要the: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
- 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上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!