Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6878497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:43:52+00:00 2026-05-27T04:43:52+00:00

I have just installed CentOS 6 64bit version, I’m trying to install a 32-bit

  • 0

I have just installed CentOS 6 64bit version, I’m trying to install a 32-bit application on a 64-bit machine and got this error:

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

How do I resolve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:43:53+00:00Added an answer on May 27, 2026 at 4:43 am

    You’re on a 64-bit system, and don’t have 32-bit library support installed.

    To install (baseline) support for 32-bit executables

    (if you don’t use sudo in your setup read note below)

    Most desktop Linux systems in the Fedora/Red Hat family:

     pkcon install glibc.i686
    

    Possibly some desktop Debian/Ubuntu systems?:

    pkcon install ia32-libs
    

    Fedora or newer Red Hat, CentOS:

     sudo dnf install glibc.i686
    

    Older RHEL, CentOS:

       sudo yum install glibc.i686
    

    Even older RHEL, CentOS:

      sudo yum install glibc.i386
    

    Debian or Ubuntu:

       sudo apt-get install ia32-libs
    

    should grab you the (first, main) library you need.

    Once you have that, you’ll probably need support libs

    Anyone needing to install glibc.i686 or glibc.i386 will probably run into other library dependencies, as well. To identify a package providing an arbitrary library, you can use

     ldd /usr/bin/YOURAPPHERE
    

    if you’re not sure it’s in /usr/bin you can also fall back on

     ldd $(which YOURAPPNAME)
    

    The output will look like this:

        linux-gate.so.1 =>  (0xf7760000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf773e000)
        libSM.so.6 => not found
    

    Check for missing libraries (e.g. libSM.so.6 in the above output), and for each one you need to find the package that provides it.

    Commands to find the package per distribution family

    Fedora/Red Hat Enterprise/CentOS:

     dnf provides /usr/lib/libSM.so.6
    

    or, on older RHEL/CentOS:

     yum provides /usr/lib/libSM.so.6
    

    or, on Debian/Ubuntu:

    first, install and download the database for apt-file

     sudo apt-get install apt-file && apt-file update
    

    then search with

     apt-file find libSM.so.6
    

    Note the prefix path /usr/lib in the (usual) case; rarely, some libraries still live under /lib for historical reasons … On typical 64-bit systems, 32-bit libraries live in /usr/lib and 64-bit libraries live in /usr/lib64.

    (Debian/Ubuntu organise multi-architecture libraries differently.)

    Installing packages for missing libraries

    The above should give you a package name, e.g.:

    libSM-1.2.0-2.fc15.i686 : X.Org X11 SM runtime library
    Repo        : fedora
    Matched from:
    Filename    : /usr/lib/libSM.so.6
    

    In this example the name of the package is libSM and the name of the 32bit version of the package is libSM.i686.

    You can then install the package to grab the requisite library using pkcon in a GUI, or sudo dnf/yum/apt-get as appropriate…. E.g pkcon install libSM.i686. If necessary you can specify the version fully. E.g sudo dnf install ibSM-1.2.0-2.fc15.i686.

    Some libraries will have an “epoch” designator before their name; this can be omitted (the curious can read the notes below).

    Notes

    Warning

    Incidentially, the issue you are facing either implies that your RPM (resp. DPkg/DSelect) database is corrupted, or that the application you’re trying to run wasn’t installed through the package manager. If you’re new to Linux, you probably want to avoid using software from sources other than your package manager, whenever possible…

    If you don’t use “sudo” in your set-up

    Type

    su -c
    

    every time you see sudo, eg,

    su -c dnf install glibc.i686
    

    About the epoch designator in library names

    The “epoch” designator before the name is an artifact of the way that the underlying RPM libraries handle version numbers; e.g.

    2:libpng-1.2.46-1.fc16.i686 : A library of functions for manipulating PNG image format files
    Repo        : fedora
    Matched from:
    Filename    : /usr/lib/libpng.so.3
    

    Here, the 2: can be omitted; just pkcon install libpng.i686 or sudo dnf install libpng-1.2.46-1.fc16.i686. (It vaguely implies something like: at some point, the version number of the libpng package rolled backwards, and the “epoch” had to be incremented to make sure the newer version would be considered “newer” during updates. Or something similar happened. Twice.)


    Updated to clarify and cover the various package manager options more fully (March, 2016)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just installed CentOS, Apache and PHP. When I visit my site http://example.com/myapp/
I have just installed VMWare Server 2.0 on a fresh Fedora Core 8 install.
I have just installed paperclip into my ruby on rails blog application. Everything is
I have just installed Eclipse CDT on my machine for developping C++ applications. I
I've just installed Python2.6 on CentOS 5. I have to type python26 to run
I have just installed kdevelop 4.0 on my Ubuntu machine and found that there
I have just installed MongoDB in my machine (Windows 7) and installed node-mongodb-native using
Have just installed WHMCS on my CentOS 6.0 x86 VPS server with cPanel. I've
Have just installed docblox on windows using PEAR. Am running into the error 'can
I have just installed KDevelop on my Ubuntu machine (KDevelop 3.9.95 on Ubuntu 9.10)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.