(Solution) How to enable 32 bit support to a 64 bit ubuntu system

Hi,

Days ago I found a problem running a linux binary.

After checking everything I could, it still couldn’t be executed.

$ ./crackme0x00
bash:./crackme0x00: No such file or directory

I finally realized  that the binary was a 32 bit binary and my system was a 64 bit Ubuntu 17.04After some Google search I found a solution:

Enable the i386 architecture (as root user):

dpkg --add-architecture i386
apt-get update

Install 32-bit libraries (as root user):

apt-get install libc6:i386 libstdc++6:i386

Regards,

Rubén