Shared lib problem: __dso_handle

David Thor Bragason bragason@uni-freiburg.de
Fri Dec 1 06:15:00 GMT 2000


Hello,

I just built the gcc snapshot 20001120 on my i586 linux (SuSE 6.4 box in
the following way:

configure --enable-shared --enable-threads --enable-languages=c++
make bootstrap
make install

There were no errors during the build. The new compiler also compiles the
following "helloworld" program without errors:

#include<iostream>

int main()
{ std::cout<<"Hello."; }

Only when I try to run it, I get the following error:

hello: error in loading shared libraries: /usr/local/lib/libstdc++.so.3:
undefined symbol: __dso_handle

I'd appreciate it if anyone could help me with this. My apologies if this
is a stupid/inappropriate question. Thanks!


David Bragason,  <bragason at uni-freiburg dot de>



More information about the Gcc mailing list