gcc3.0.3 could't find shared libraries.
H.S.Rai
hsraidce@iitr.ernet.in
Thu Feb 14 08:07:00 GMT 2002
I downloaded gcc-3.0.3.tar.gz ( 17.5 MB ) from
ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.0.3 and installed it on
a system which had gcc2.96. I got problem of shared library.
First I got problem for libstdc++.so.3, I soft linked it to
/usr/lib, then I got problem for libgcc_s.so.1, on soft
linking this from /usr/lib it give following error:
error while loading shared libraries: libgcc_s.so.1: cannot
load shared object file: Error 40
I tried giving /usr/local/lib in /etc/ld.so.conf, what
I got same error.
Befor any linking I got this error:
error while loading shared libraries: libstdc++.so.3: cannot
load shared object file: No such file or directory
The libraries are in /usr/local/lib.
Now I wish to resolve this problem.
What is significance fo "single thread model" as shown by
specs:
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
Configured with: ./configure
Thread model: single
gcc version 3.0.3
$ ls /usr/local/lib/*
/usr/local/lib/libgcc_s.so.1 /usr/local/lib/libstdc++.so.3
and other file in /usr/local/lib directory.
H.S.Rai
More information about the Gcc-help
mailing list