One of the object modules being linked has been compiled without -fPIC.
You need to determine which one and fix it.
use: LD_DEBUG=relocs /lib/ld-linux.so.2 <program name>
This will spit out a lot of information on the relocs it is resolving,
including the symbol it fails on.
Hint: try LD_DEBUG=help for more information.
laurent dupont wrote:
>
> bonjour
>
> j ai lu avec interet votre document sur gcc, mais j ai un probleme:
> je travaille avec un redhat 6.0 ( et qui est une mise a jour d une Redhat 5.2)
> je n ai pas fait de "bidouilles", ni avant la mise a jour, ni apres
> or lorsque je lance gcc j obtiens:
>
> BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info: Assertion `!
>"bad dynamic tag"' failed!
>
> (et ce, que je tape "gcc" ou que je lance une compilation du noyau!)
>
> Je vous serai reconnaissant de m aider a resoudre ce probleme
>
> merci
>
> A+
> Laurent Dupont
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org