This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Shared lib problem: __dso_handle
>>>>> David Thor Bragason writes:
> 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
That's a problem of your binutils release. Newer binutils fix this.
> I'd appreciate it if anyone could help me with this. My apologies if this
> is a stupid/inappropriate question. Thanks!
I've just put a new binutils version for you at:
ftp.suse.com:/pub/people/aj/binutils-2.10.0.33-7.i386.rpm
It will appear after the next sync of our ftp server in a few hours,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj