Running 32-bit Binaries on 64-bit Ubuntu
We have just upgraded to Ubuntu 14.04 LTS for our Android development machine. When I execute the 'aapt' program as part of Android compilation, I have received the following error message:
That usually means aapt cannot execute, because libstdc++.so.6 is not installed. But you'll find that it is installed. The error message is cryptic. In reality, the 64-bit version of libstdc++.so.6 is installed. aapt is linked against the 32-bit library, which is not installed.
On Ubuntu 13.10 and prior, you can issue the following simple command to install 32-bit libraries:
sudo apt-get install ia32-libs
But that doesn't work on Ubuntu 14.04 LTS. Apparently ia32-libs has been obsoleted. To do the same thing on Ubuntu 14.04 LTS, it takes a little more work. You have to issue the following commands in sequence:
sudo dpkg --add-architecture i386
Once you issue those commands, 'aapt' and other 32-bit programs will run on 64-bit Ubuntu 14.04 LTS.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
35 Users Online
Copyright © 1996 - 2021. All Rights Reserved.