32-bit binary arrgh

10 Sep 2011 - sysadmin

Running 32-bit binaries on 64-bit machines and it refuses to work? Over the last one month this happened to me several times. Sometimes even disguised as something else. Finally, figured out the solution and noted it down all over the place so I don’t forget.

Building OpenCity

The magic words are libc6-1386 and ia32-libs. Oh, and to check if a binary is 32-bit or 64-bit, use the file command.