13

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?

Ta, Ben

  • Try dpkg -L ia32-libs; this will show you where the files were installed. – January Aug 31 '12 at 13:01
10

You need to install:

sudo apt-get install g++-multilib

Here are more details on Ubuntu wiki.

9

Try installing this:

apt-get install lib32stdc++6

It installs this:

/usr/lib32/libstdc++.so.6
/usr/lib32/libstdc++.so.6.0.16
0

One way to build 32 bit apps on 64 bit system is using a 32 bit chroot. There are some excellent notes on how to do this in this wiki: https://help.ubuntu.com/community/BasicChroot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.