Red Hat Bugzilla – Bug 114418
setiathome binary fails to start with reloc failure
Last modified: 2007-11-30 17:07:00 EST
Description of problem:
Trying to start the 3.03 setiathome app results in the following
setiathome: ../sysdeps/ia64/dl-machine.h:562: elf_machine_rela:
Assertion `!"unexpected dynamic reloc type"' failed.
and the app doesn't run. I've googled around a bit and found
similar messages from apps on other architectures, but none for
ia64. The consensus seemed to be that this was a linker or c
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download setiathome 3.03 tarball for ia64
2. untar it
3. run it on an ia64 box under RHEL 3.0
Actual Results: setiathome: ../sysdeps/ia64/dl-machine.h:562:
elf_machine_rela: Assertion `!"unexpected dynamic reloc type"'
Is setiathome a statically linked program, right?
There is no binary compatibility for statically linked programs
which do dlopen/NSS/iconv (i.e. are not self-contained) and never
has been in Linux.
Applications should be linked dynamically, if for some reason this
is not possible, they should be relinked always with glibc against which
it will be run. glibc license mandates that object files for relinking
must be available with statically linked programs FYI.
Ah-ha! Thanks, I knew I was missing something basic. Know the
glibc code I was reading makes sense...