Red Hat Bugzilla – Bug 4632
Linux x86 run-time ELF loader does not handle Solarix/x86 binaries gracefully
Last modified: 2016-11-24 07:14:56 EST
In a routine search for shared library dependencies, I
ended up running the Red Hat 6.0 ldd command (from glibc
2.1.1) on an x86 box against a lot of NFS-mounted
Solaris/x86 2.5.1 binaries. Instead of quitting gracefully
with an error indicating that it cannot find one or more
of the shared libraries, it seems to fail in one of two
ways. Most often, I get this error:
/usr/bin/ldd: <filename>: No such file or directory
In this case, the <filename> displayed is the name of
the (clearly existing) Solaris/x86 program. No doubt,
there is some other file that it cannot find. If so,
it should display what it is that it cannot find.
In a minority of cases, I get an error message that looks
BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57:
`! "bad dynamic tag"' failed!
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)
Use objdump if you want to poke at those binaries. ldd must load the
bianry in memory and resolve dynamically the symbol dependencies. And
Linux can not load Solaris x86 binaries.
The file not found message referrs to the dynamic loader that the
solaris binaries require and which is not present in Linux.
Commit pushed to master at https://github.com/openshift/origin
Issue 4632 - remove 'Project' from the project overview header