This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]