This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Undefined symbol in dynamic library libstdc++.so.3.0.0
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Undefined symbol in dynamic library libstdc++.so.3.0.0
- From: Russell Davidson <russell at ehess dot cnrs-mrs dot fr>
- Date: Tue, 18 Apr 2000 20:19:47 +0200 (CEST)
Today, in advance of any freezing of the sources, I got the latest CVS
sources for both gcc 2.96 and libstdc++-v3, and made the compiler and the
library. This went OK, and so did "make check" for the library.
However, when I tried to run files compiled with the new stuff, there was
always an error if I tried to use the dynamic library:
error in loading shared libraries: /home/russell/local/lib/libstdc++.so.3:
undefined symbol: __dso_handle
This symbol doesn't seem to exist in the static library, and so statically
linked executables work OK.
I can't find anything resembling __dso_handle in the sources, and so I'm
at a loss. I really don't want to link things statically: hello.cc gives
an executable of 363788 bytes stripped when linked statically, versus 5080
bytes stripped, and 7995 bytes unstripped when linked dynamically.
Can someone help, please?
Russell.
Russell Davidson email: russell@ehess.cnrs-mrs.fr
GREQAM,
Centre de la Vieille Charite, telephone: +33-4.91.14.07.40
F-13002 Marseille fax: +33-4.91.90.02.27