Subject: Re: dlopen() and libgcc.a
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Frank van der Linden <firstname.lastname@example.org>
Date: 12/07/2000 13:48:52
On Wed, Dec 06, 2000 at 06:43:55PM +0100, Matthias Drochner wrote:
> Undefined symbol "__pure_virtual" (reloc type = 1, symnum = 475)
> What's the right way to deal with this - perhaps link in
> libgcc.a "whole-archive" into programs using dlopen(), or
> provide a shared libgcc?
I encountered this problem once, and fixed it by linking the shared
object that was to be dlopen-ed explicitly with -lgcc. But I'm not
sure if that's a clean solution, it's more of a workaround.