Is this bug in g++ /gcc-3.4.0 ?

yuki shimada epsoft@mint.ocn.ne.jp
Mon May 10 01:40:00 GMT 2004


Hollo!
I am Yuki Shimada.
This time , I had installed gcc-3.4.0 into my RedHat9.
And then,I had compiled "hello.cc" by using "g++". But cannot excute
"./a.out".   Compiler tells me a error.
(Incase of "hellp.c" complied by "gcc", "./a.out" can excute well.)

#1 error from g++
[yuki@localhost c++]$ g++ hello.cc
[yuki@localhost c++]$ ./a.out
./a.out: error while loading shared libraries: libstdc++.so.6: cannot
open shared object file: No such file or directory
[yuki@localhost c++]$
#2 my source code: see attachment of this mail.

Is this a bug ?
thank you.
epsoft@mint.ocn.ne.jp
Yuki Shimada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.cc
Type: text/x-c++
Size: 331 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20040510/a3c757c4/attachment.bin>


More information about the Gcc-help mailing list