奔跑的回旋镖

发布于 2024-11-15 06:28:02 字数 345 浏览 4 评论 0原文

我使用的是 Ubuntu 8.04,刚刚下载了 Boomerang 并将文件解压缩到桌面上的文件夹中。

cd 进入 exe boomerang 文件所在的文件夹,然后输入 ./boomerangboomerang

但是我收到错误消息:

无法执行./boomerang:没有这样的文件或目录。

为什么会出现这种情况?

I am on Ubuntu 8.04 and I have just downloaded Boomerang and unzip the files into a folder on my desktop.

I cd into that folder where the exe boomerang file resides, and typed ./boomerang and boomerang.

However I got the error message:

unable to execute ./boomerang: No such file or directory.

Why does this happen?

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

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

发布评论

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

评论(3

离去的眼神 2024-11-22 06:28:02

我猜,您使用的是 64 位系统,这意味着您必须安装一些 x86 库才能运行该程序,

要列出二进制文件链接的库,请运行 readelf -d | grep NEEDED

一旦你知道了这些库,只需为 x86 架构安装它:这里是 x86 的一些常见且必需的库,

sudo apt-get install libgc1c2:i386 libexpat1-dev:i386 lib32stdc++6 lib32z1 lib32z1-dev

现在程序应该可以正常启动,
但如果它仍然存在,您应该会看到不同类型的错误,
尝试为 x86 安装这些库,

确保您已安装 GUI 版本的 Qt

I guess, you're on a 64 bit system, which mean you must install some x86 libraries to run the program,

to list the libraries the binary is linked against, run readelf -d | grep NEEDED

once you know the libraries, just install it for x86 architecture: here are some common and necessary libraries for x86

sudo apt-get install libgc1c2:i386 libexpat1-dev:i386 lib32stdc++6 lib32z1 lib32z1-dev

now the program should start normally,
but if it persists, you should see a different kind of error,
try to install those libraries for x86

make sure you have Qt installed for the GUI version.

人海汹涌 2024-11-22 06:28:02

该错误很可能是因为您拥有 64 位系统,但回旋镖二进制文件是 32 位,并且许多较新的 64 位系统不再提供 32 位支持。

解决方案是为您的系统安装 32 位支持;执行此操作的方法可能有所不同,但我使用的过程是:

sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0

应该与 Ubuntu 和许多衍生版本兼容,但您应该查找适合您的特定操作系统版本的正确过程,而不是简单地运行此命令。

然而,在 Boomerang 在 64 位 Linux 发行版上运行之前,可能还需要许多其他 32 位库,但至少在安装了 32 位支持后,它可以告诉您这些是什么!

The error is most likely because you have a 64-bit system, but the boomerang binaries are 32-bit, and many newer 64-bit systems no longer ship with 32-bit support.

The solution is to install 32-bit support for your system; the method for doing this may differ, however the procedure I used was:

sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0

Which should be compatible with Ubuntu and many derivatives, though you should look up the correct procedure for your particular OS version, rather than simply running this command.

However, there may also be a number of other 32-bit libraries that are still required before boomerang will run on a 64-bit linux distribution, but at least once you have 32-bit support installed it can tell you what these are!

铜锣湾横着走 2024-11-22 06:28:02

你确定你解压了吗??

weewee@ubuntu:~/Downloads$ tar xzf boomerang-linux-alpha-0.3.tar.gz
weewee@ubuntu:~/Downloads$ cd boomerang-linux-alpha-0.3/
weewee@ubuntu:~/Downloads/boomerang-linux-alpha-0.3$ ls -l boomerang
-rwxr-xr-x 1 weewee weewee 2376620 Jun 13  2006 boomerang
weewee@ubuntu:~/Downloads/boomerang-linux-alpha-0.3$ ./boomerang
Boomerang alpha 0.3 13/June/2006
Usage: boomerang [ switches ] <program>
boomerang -h for switch help

Are you sure you unpacked it ??

weewee@ubuntu:~/Downloads$ tar xzf boomerang-linux-alpha-0.3.tar.gz
weewee@ubuntu:~/Downloads$ cd boomerang-linux-alpha-0.3/
weewee@ubuntu:~/Downloads/boomerang-linux-alpha-0.3$ ls -l boomerang
-rwxr-xr-x 1 weewee weewee 2376620 Jun 13  2006 boomerang
weewee@ubuntu:~/Downloads/boomerang-linux-alpha-0.3$ ./boomerang
Boomerang alpha 0.3 13/June/2006
Usage: boomerang [ switches ] <program>
boomerang -h for switch help
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文