摘自http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit
"No such file or directory" may appaear when you have your binary, but it lacks some libraries.
If you install build-essential
package, you will have ldd
command available.
This command ldd ./app | grep not
will show you what libraries are missing.
Just install these libraries in i386 arch with apt. Like this: apt-get install libmissing:i386
Beware, some buggy packages will try to delete 64bit version firs.
To run a 32-bit executable file on a 64-bit multi-architecture Ubuntu system, you have to add thei386
architecture and install the three library packages libc6:i386
,libncurses5:i386
, and libstdc++6:i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386