Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
    
Try dpkg -L ia32-libs; this will show you where the files were installed. –  January Aug 31 '12 at 13:01
add comment

3 Answers

Try installing this:

apt-get install lib32stdc++6

It installs this:

/usr/lib32/libstdc++.so.6
/usr/lib32/libstdc++.so.6.0.16
share|improve this answer
add comment

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

share|improve this answer
add comment

You need to install:

sudo apt-get install g++-multilib

Here are more details on Ubuntu wiki.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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