在Ubuntu 13.10中运行32位可执行文件(Run 32 bit executable in Ubuntu 13.10)

编程入门 行业动态 更新时间:2024-10-28 00:27:53
在Ubuntu 13.10中运行32位可执行文件(Run 32 bit executable in Ubuntu 13.10)

今天我将我的电脑升级到Ubuntu 13.10并修复了所有破坏的东西。 我需要再次使用32位可执行文件。 当我运行它时,我得到了这个:

jim@main:~$ /usr/share/q/l32/q bash: /usr/share/q/l32/q: No such file or directory

以前我只是安装了ia32-libs以使其再次运行,但现在不再是13.10了。 我做了一些研究,我发现我需要安装32位版本的库。 为了找到它使用的库,我尝试使用ldd :

jim@main:~$ ldd /usr/share/q/l32/q not a dynamic executable

以下是文件的权限:

jim@main:~$ ll /usr/share/q/l32/ total 540 drwxr-xr-x 2 root root 4096 Dec 28 19:26 ./ drwxr-xr-x 3 root root 4096 Dec 28 19:26 ../ -rwxr-xr-x 1 root root 542846 Dec 28 19:26 q*

所以这是一个可执行文件。

怎么办?

Today I upgraded my computer to Ubuntu 13.10 and am fixing everything that broke. There is a 32 bit executable that I need to get working again. When I run it, I get this:

jim@main:~$ /usr/share/q/l32/q bash: /usr/share/q/l32/q: No such file or directory

Previously I just installed ia32-libs to get it working again, but that is no longer in 13.10. I did some research and I see I need to install the 32 bit versions of libraries. To find what libraries it uses, I tried using ldd:

jim@main:~$ ldd /usr/share/q/l32/q not a dynamic executable

Here are the permissions on the file:

jim@main:~$ ll /usr/share/q/l32/ total 540 drwxr-xr-x 2 root root 4096 Dec 28 19:26 ./ drwxr-xr-x 3 root root 4096 Dec 28 19:26 ../ -rwxr-xr-x 1 root root 542846 Dec 28 19:26 q*

So it is an executable.

Now what?

最满意答案

我只需要安装

lib32z1 lib32ncurses5 lib32bz2-1.0

猜猜我只需要几分钟的谷歌搜索。

I just had to install

lib32z1 lib32ncurses5 lib32bz2-1.0

Guess I just needed a few more minutes of googling.

更多推荐

本文发布于:2023-07-07 09:04:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1061397.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可执行文件   Ubuntu   bit   Run   executable

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!