How to get i386 binaries work on Ubuntu

Probably you already executed the procedure to include i386 support to Linux:

$ sudo dpkg --add-architecture i386
$ apt-get update
$ sudo apt-get update
$ sudo apt-get install libc6-i386

Even yet your application still not running:

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

You can run this command to show the needed libraries:

$ objdump -p ./diehard | grep NEEDED
NEEDED libf2c.so.0
NEEDED libm.so.5
NEEDED libc.so.5

2 thoughts on “How to get i386 binaries work on Ubuntu

    1. Yes, currently almost everything is already ported to AMD64. But sometimes we will find some Linux binary that needs i386 support

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s