Find the answer to your Linux question:
Results 1 to 5 of 5
I dont think this error is specific to gentoo, but that's the os so here I am. There are suddenly a lot of apps on my gentoo box that throw ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3

    Exclamation [SOLVED] Inconsistency detected by ld.so


    I dont think this error is specific to gentoo, but that's the os so here I am.

    There are suddenly a lot of apps on my gentoo box that throw the error:
    Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 648: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!

    I havent checked the box in months and today needed to do some changes in samba and smbd and ntpd gave that error. I went to run emerge to see if my samba needed updating and it also threw the exact error. My apache2 does as well. I cant really list all of the apps that are throwing this error since there are so many. I'm afraid to reboot since I expect a kernel panic.

    I ran ld.so to see if I could diagnose a little.

    hydrogen lib #
    Code:
    ./ld-linux.so.2 /usr/sbin/smbd
    Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 648: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!
    hydrogen lib # ./ld-linux.so.2 --list /usr/sbin/smbd
            linux-gate.so.1 =>  (0xffffe000)
            libcups.so.2 => /usr/lib/libcups.so.2 (0xb7fe4000)
            libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7fbc000)
            libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7eec000)
            libnsl.so.1 => /lib/libnsl.so.1 (0xb7ed6000)
            libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7eaa000)
            libpam.so.0 => /lib/libpam.so.0 (0xb7ea3000)
            libresolv.so.2 => /lib/libresolv.so.2 (0xb7e92000)
            libdl.so.2 => /lib/libdl.so.2 (0xb7e8f000)
            libpopt.so.0 => /usr/lib/libpopt.so.0 (0xb7e88000)
            libc.so.6 => /lib/libc.so.6 (0xb7d8d000)
            /lib/ld-linux.so.2 => ./ld-linux.so.2 (0x80000000)
    hydrogen lib # ./ld-linux.so.2 --verify /usr/sbin/smbd
    6
    Again I'm not trying to build anything when the error happens. It happens when I try to execute the apps. My samba shares were working just fine but I needed to add a new one. I edited the config, did a /etc/init.d/samba restart and it failed with the above error.

    I can only guess a emerge update was done months ago without a reboot so the services kept running even though the ones emerged failed badly. That's just a guess but I don't know how to recover this since even emerge is throwing the error and will not run.

    Maybe something is wrong with /lib/ld-linux.so.2? I honestly have no clue.

    So help?
    Last edited by MikeTbob; 10-02-2010 at 09:41 PM. Reason: Added code tags

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    Haven't seen something like this before. Thoughts:

    0. Hardware failure, resulting in corrupted files, glibc maybe
    1. The box is hacked

    I'd go for reboot, fsck from a liveCD, broken files (if found) can be replaced with ones from tinderbox.

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    This guy claims he had bad RAM that caused this error....it may be helpful to run memtest overnight, if you can.
    Gentoo Forums :: View topic - [SOLVED]Inconsistency detected by ld.so
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3

    Talking Solved

    After taking the time to stand up a replacement linux box and swapping it out for the oddly behaving one, did a lot of troubleshooting without any success.

    But I now felt confident to try a reboot since my entire network wasn't relying on this machine anymore. I had the latest gentoo cd ready incase a rebuild was going to be necessary. System powered down then back up and... it worked. That's all it took was a power cycle. I have to assume some bad weather a few weeks back or maybe a sun spot (/shrug) caused a temporary issue. The box is not only on battery backup but also a secondary surge protector. Oh well.

    Linux boxes can have insane uptimes but I guess eventually they need to be bounced.

    FSCK and memtest show no issues. Problem solved.

  6. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Glad you sorted it out, I'll mark this as solved.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •