Running 32-bit applications under ubuntu amd64
If you try to run a 32-bit application under ubuntu's 64-bit amd64
distro, you get the following error:
unable to execute <program>: No such file or directory
The Debian AMD HOW-TO describes how to configure a debian-based system to run 32-bit apps. Below is my ubuntification of those instructions.
sudo apt-get install debootstrap
sudo debootstrap --arch i386 breezy /var/chroot/breezy-ia32 http://us.archive.ubuntu.com/ubuntu/ # this takes a while
ia32root=/var/chroot/breezy-ia32
sudo chroot $ia32root file /bin/ls
sudo chroot $ia32root /bin/ls
[]
permanent link