again undefined symbol __dso_handle

Alan Modra amodra@bigpond.net.au
Mon Nov 11 18:01:00 GMT 2002


On Mon, Nov 11, 2002 at 05:18:26PM +0100, Christian Mudra wrote:
> I stumbled about a strange linking behaviour of ld vs. gcc.
> Linking a shared lib with ld will lead to the __dso_symbol not found' message
> when starting a binary linked against it. Linking the shared lib with gcc,
> the bug doesn't happen.

If you add -v to the gcc command line, you will see that gcc links
against other objects.  Always use gcc to link.  It will save you a
lot of pain.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list