Ubuntu – Build 32-bit on 64-bit Ubuntu: installing ia32-libs does not include libstdc++


Googled for a while but drawn a blank.

Need to build 32-bit app on 64-bit Ubuntu.

Realise that I need to install ia32-libs. I have done this and apt-get tells me it's already at the latest version.

This link: http://packages.debian.org/squeeze/amd64/ia32-libs/filelist
says that libstdc++ should be in /usr/lib32

It's not there!

I have uninstalled, reinstalled (with force) ia32-libs.

Any ideas? How can I get this critter on my box?


Best Answer

You need to install:

sudo apt-get install g++-multilib

Here are more details on Ubuntu wiki.