Summary: | sys-devel/gdb-7.10-r1 error while loading shared libraries: /usr/lib64/libm.so.6: invalid ELF header | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Turbov <I.zaufi> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
full build log
glibc package content my system info |
Description
Alex Turbov
2015-10-23 23:39:22 UTC
readelf shows that gdb has a runpath set to /usr/lib64. as a temporary solution I start it like this: $ LD_LIBRARY_PATH=/lib gdb every bug report should have `emerge --info` attached to it. please do so. there should be no /usr/lib64/libm.so.6 file. please attach the output of: qlist -e sys-libs/glibc also attach the full build log of your glibc Created attachment 415510 [details]
full build log
Created attachment 415512 [details]
glibc package content
Created attachment 415514 [details]
my system info
your glibc doesn't own /usr/lib64/libm.so.6, so where is it coming from ? run: file /usr/lib*/libm.so.6 file -L /usr/lib*/libm.so.6 qfile /usr/lib*/libm.so.6 and post the output it is a symlink unowned by any package... removing it had fixed the problem. |