Ubuntu – Cannot install ia32-libs on a 64 bit Ubuntu installation


I am using a 64-bit installation of Oneiric. I need to install the ia32-libs package to get some applications (evince, adobe reader) to work. For example, adobe reader is giving the following error: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory.

However, I am not able to install it since it is showing a dependency on ia32-libs-multiarch, which in turn is showing a dependency on gstreamer0.10-plugins-good:i386. This in turn depends on few other packages.

How can I install these packages safely and still meet all the dependencies.

Best Answer

Install the dependencies as usual, but append :i386 to it as in:

sudo apt-get install libgl1-mesa-glx:i386

If you get an impossible situation, try to install the 32-bit C library first, then the other packages:

sudo apt-get install libc6:i386

See also Does the multiarch feature in 11.10 mean the death of force--architecture installs?