Undefined symbol in dynamic library libstdc++.so.3.0.0

Ulrich Drepper drepper@redhat.com
Thu Apr 20 08:19:00 GMT 2000


ncm@cantrip.org writes:

> /home/ncm/Libc/build/gcc/collect2 \
> -m \
> elf_i386 \
> -shared \
> -o \
> .libs/libstdc++.so.3.0.0 \
> /usr/lib/crti.o \
> /home/ncm/Libc/build/gcc/crtbeginS.o \

OK, this means the correct crtbeginS.o fie is used.  Just to be sure:
run nm on it.  It should contain a definition of __dso_handle.  If
not, you've found the problem, it's during generating this file.

If it is exported something is wrong with the linker.  It has to use
the .o file and since no linker map is used, the symbol must be
exported.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libstdc++ mailing list