Subject: Re: odd runtime linker error
To: None <current-users@netbsd.org>
From: Dave Barr <barr@visi.com>
List: current-users
Date: 10/18/1999 22:12:01
Paul Kranenburg wrote:
> > /usr/X11R6/lib/libqt.so.1: 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
possible/practical?

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

--Dave