Subject: Re: odd runtime linker error
To: None <>
From: Dave Barr <>
List: current-users
Date: 10/18/1999 22:12:01
Paul Kranenburg wrote:
> > /usr/X11R6/lib/ Undefined symbol "" (reloc type = 12, symnum
> > = 4)
> This error seems to pop up with every shared library built from C++
> sources by using the `libtool' to construct the link command to
> build the library from (PIC) object files.  The generated link command
> includes `-lgcc' -- which is a static (non-PIC) library -- that
> should preferably not be mixed in with the PIC object files of
> the shared library being built.

Wouldn't another option be to create a shared libgcc?  Is that

However, it seems to me that either option is merely a workaround
for a deeper bug in the loader.  Is this right?