Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The ia32-libs package is longer present in Ubuntu 12.04 repositories for a 64bit system. Are there any available replacement packages available for download?

share|improve this question

4 Answers

up vote 20 down vote accepted

The ia32-libs package was a hack to get 32-bit packages installed on a 64-bit installation. Since Ubuntu version 11.10 (Oneiric), Multi Arch has been added. One of the objectives for it is removing the ia32-libs package. Instead, you have to install the 32-bit libraries of a package with:

sudo apt-get install package-name:i386

You don't have to worry about this for packages in the standard repositories (e.g. the wine package). For external software, it's a bit more difficult because you have to find the dependencies manually. In that case, use you favorite search engine to find which libraries you need.

It seems that ia32-libs still exist, but merely as a convenience package to include common 32-bit libraries. This package now uses Multi Arch to install the 32-bit packages correctly.

share|improve this answer
2  
Well, how is one suppose to find all the dependencies and first install :i386 of those ? – User117 Sep 16 '12 at 17:52
@wingman Run ldd, passing a path to the binary as argument. If the output contains a line like libz.so.1 => not found, then you need to find libz.so.1. You can use packages.ubuntu.com or apt-file search to find the package containing that file. In the example I gave, you need to install zlib1g:i386. – Lekensteyn Sep 16 '12 at 21:10
1  
i am in a computer with ubuntu 10.10. following some tutorial on android development i have to install the ia32-libs. your answer talk about 11.10, but for this computer? what i have to do? – nkint Oct 25 '12 at 12:16
@nkint 10.10 is not supported anymore. If you want to proceed, you need to change your package sources. In 10.10 you need to install ia32-libs. But even then there is no guarantee that the android SDK works with that. – Lekensteyn Oct 26 '12 at 13:18

If you get that error, try:

sudo apt-get update

Then try it again:

sudo apt-get install ia32-libs

I just did a fresh install of 12.04, that package is still available in the repositories. In fact, I got that error myself before I ran update. Afterwards, it worked fine.

share|improve this answer

I read that you are supposed to install the ia32-libs-multiarch package instead. However it didn't work for me and I get this error

ia32-libs-multiarch:i386 : Depends: libgphoto2-2:i386 but it is not going to be installed.

The solution which worked for me was to install the following packages:

sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
share|improve this answer

I believe this specific use case was replaced with the packages "lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2", which is probably a more specific and useful answer than saying "you can use multi-arch".

share|improve this answer
1  
What? There's no specific use case in this question. – gertvdijk Jan 24 at 21:58
@gertvdijk: The package itself represents a limited use case; for a more general purpose you can multi-arch, but for people who were using this one specific package before, it seems to have been replaced with "lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2", which you can install without having to use multi-arch: that covers the same use cases as the previous package. In essence, I found these answers unhelpful, as multi-arch was overkill for the reason that ia32-libs existed, was surprised there wasn't a more direct drop-in replacement, and wasn't disappointed when I researched this further. – saurik Feb 4 at 7:10

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.