Ubuntu 12.04 64-bit settings are compatible with 32-bit implementations

Source: Internet
Author: User


Ubuntu 12.04 64-bit settings are compatible with 32-bit implementations on ubuntu12.04. To run 32 programs, you need to install a 32-bit compatible library. Previously successfully installed on 10.04, the method is sudo apt-get install ia32-libs but encountered difficulties on 12.04, the following error $ sudo apt-get install ia32-libs www.2cto.com is reading the package list... the dependency tree of the software package being analyzed is reading status information... complete
Some software packages cannot be installed. If you are using an unstable release, this may be because the system cannot meet your requirements. In this version, some required software packages may not be created or they have been removed from the Incoming directory. The following information may be helpful in resolving the problem: the following software packages have a dependency that is not met: ia32-libs: Dependency: ia32-libs-multiarchE: cannot correct errors because you want some software packages to stay as it is, that is, they have damaged the dependency network between software packages and have not found a proper method. Finally, google (better than baidu) was used. Although the installation method of the library was not found, the solution was found: that is, you need to install the 32-bit library $ sudo apt-get install libc6: i386 libgc0: i386 gcc-4.6-base: i386 libstdc ++ 5: i386 libstdc ++ 6: i386 I intended to run adb. When running adb, I found that the libncurses5 library is missing and I am doing it myself. sudo apt-get install libncurses5: i386 is 64-bit, and gcc compiles the Code 64-bit by default, however, if you want to compile a bit, you can use the gcc-m32 option to set it. Www.2cto.com, but unfortunately, an error occurs, saying that the/usr/include/features. h file cannot be found. Google: sudo apt-get install g ++-multilib. OK, so it's all running!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.