Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot run 32-bit apps on 64-bit Linux

I have a very minimal install of Ubuntu 8.04 64-bit.

When I try to run some 32-bit programs, such as my jhead program, I get the message No such file or directory.

I figured it may be a library problem, but when I do:

ldd jhead

instead of a list of libraries it needs, I just get the message not a dynamic application. Same for another old 32-bit app I use.

So it would appear some very important components for running 32 bit apps are not installed. But how do I even determine what these are?

like image 726
Matthias Wandel Avatar asked Apr 09 '09 20:04

Matthias Wandel


People also ask

Can 32-bit programs run on 64-bit Linux?

You can have 32bit userland running on a 64bit kernel, and install support for 64bit binaries.

Can I run a 32bit app on a 64bit OS?

The 64-bit versions of Windows don't provide support for 16-bit binaries or 32-bit drivers. Programs that depend on 16-bit binaries or 32-bit drivers can't run on the 64-bit versions of Windows unless the program manufacturer provides an update for the program.

How do I run 32-bit applications on 64-bit?

Right-click on the app and choose Properties. In the Properties window, select the Compatibility tab. Then, under the Compatibility mode, check Run this program in compatibility mode for and select the target Windows system.

Can Linux run 32-bit apps?

Linux kernel supports chroot technology that allows to run 32-bit apps in an isolated environment (sandbox) inside a 64-bit OS.


1 Answers

You will need to install the 32bit library package

ia32-libs - ia32 shared libraries for use on amd64 and ia64 systems

go and execute

sudo aptitude install ia32-libs
like image 200
lothar Avatar answered Oct 29 '22 16:10

lothar