“/lib/ld-linux.so.2: bad ELF interpreter:” Error

Ok so this is the first time that I’ve encountered this error on a fresh vanilla install of Fedora 10 (I’m not going to upgrade to 11 just yet since I’m going to wait for CentOS 6 which is essentially Fedora 10 in the future). I was trying to run hldsupdatetool.bin and it gave me that error. Now nearly every binary depends on glibc, the question is do they depend on the 32-bit or 64-bit version of it. I did a yum install glibc and what came up was that I had the 64-bit version of glibc (duh, x86_64 F10). So the only thing I did was install the 32-bit version of glibc and now everything is back to normal (until more problems arise).

 
  • Digg
  • Slashdot
  • Technorati
  • Live
  • StumbleUpon
  • LinkedIn
  • Google Bookmarks
  • del.icio.us
  • Facebook
  • Twitter
  • MySpace
  • N4G
  • Reddit

6 Responses to ““/lib/ld-linux.so.2: bad ELF interpreter:” Error”

  1. Petey Wheatstraw says:

    Hello, can you tell me how you installed the 32-bit version of glibc?
    I’m not sure what repo it’s in or what the package name is (nor how to search for it, bit of a n00b). This is the same issue preventing me from setting up a dedicated Steam game server :)

  2. Baskar raju says:

    Try this!!
    [root@localhost Downloads]# yum install ld-linux.so.2
    Loaded plugins: presto, refresh-packagekit
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package glibc.i686 0:2.11.1-1 set to be updated
    –> Processing Dependency: libfreebl3.so for package: glibc-2.11.1-1.i686
    –> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.11.1-1.i686
    –> Running transaction check
    —> Package nss-softokn-freebl.i686 0:3.12.4-10.fc12 set to be updated
    –> Finished Dependency Resolution

    Dependencies Resolved

    =================================================================================================================================================================================
    Package Arch Version Repository Size
    =================================================================================================================================================================================
    Installing:
    glibc i686 2.11.1-1 updates 4.3 M
    Installing for dependencies:
    nss-softokn-freebl i686 3.12.4-10.fc12 fedora 104 k

    Transaction Summary
    =================================================================================================================================================================================
    Install 2 Package(s)
    Upgrade 0 Package(s)

    Total download size: 4.4 M
    Is this ok [y/N]: y
    Downloading Packages:
    Setting up and reading Presto delta metadata
    Processing delta metadata
    Package(s) data still to download: 4.4 M
    (1/2): glibc-2.11.1-1.i686.rpm | 4.3 MB 02:30
    (2/2): nss-softokn-freebl-3.12.4-10.fc12.i686.rpm | 104 kB 00:03
    ———————————————————————————————————————————————————————————
    Total 29 kB/s | 4.4 MB 02:35
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : nss-softokn-freebl-3.12.4-10.fc12.i686 1/2
    Installing : glibc-2.11.1-1.i686 2/2

    Installed:
    glibc.i686 0:2.11.1-1

    Dependency Installed:
    nss-softokn-freebl.i686 0:3.12.4-10.fc12

    Complete!

  3. Luis says:

    I had this issue, myself, on Friday on a Fedora 12 fresh install and the above worked perfectly. It feels obvious now, but when you’re in the thick of things it’s often hard to step back and think straight. Thanks, again!

  4. Bryan says:

    Baskar’s solution worked perfectly for fixing my FC11 install.

  5. Guido says:

    Very helpful. Thank you!

  6. [...] Ставили сервак под «мелочью» CentOS  – – – начала ругаться “/lib/ld-linux.so.2: bad ELF interpreter:” Error что-то там,. Я поискал мануал и наткнулся на камент с такой-же багой *хвала и почести тому человеку* http://rodoabad.joinpgn.com/2009/06/23/libld-linux-so-2-bad-elf-interpreter-error/comment-page-1/#co... [...]

Leave a Reply