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.
- 09-28-2010 #1
- Join Date
- Jul 2008
[SOLVED] Inconsistency detected by ld.so
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
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.
Last edited by MikeTbob; 10-02-2010 at 09:41 PM. Reason: Added code tags
- 09-29-2010 #2
- 09-29-2010 #3
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
- 10-02-2010 #4
- Join Date
- Jul 2008
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.
- 10-02-2010 #5