Shared library linking problem.
H.J. Lu
hjl@lucon.org
Tue Oct 28 17:57:00 GMT 1997
>
>
> We recently switched to egcs here for a project which built a bunch of
> shared libraries (platform is linux/libc6). The problem is that now
> we can only get our applications to run if we link in our object files
> statically. If we try to use shared libraries as we did with the
> normal gcc, we get this error on launch:
>
> BUG IN DYNAMIC LINKER ld.so: ../sysdeps/i386/dl-machine.h: 291:
> elf_machine_rel: Assertion `! "unexpected dynamic reloc type"' failed!
>
I heard this once with Qt. Which glibc 2 are you using? I have
no problem with the slightly older glibc 2.1 on x86 and glibc
2.0.5c on alpha.
If you can send me a test case, I will look into it.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
More information about the Gcc
mailing list