gcc-322 and gcc461

Jonathan Wakely jwakely.gcc@gmail.com
Tue Aug 2 12:55:00 GMT 2011

On 2 August 2011 03:59, Bill Cunningham wrote:
>   I have 322 versions or gcc and g++ installed along with their development
> libraries. gcc compiles fine and I have a working 461 C compiler. g++ not so
> much. I get this error when I try to run an executable.
> ./a: error while loading shared libraries: libstdc++.so.6: cannot open
> shared object file: No such file or directory
> The library is there. I don't know why it can't be found. Is the linker not
> able to find libstc++.so.6 ? I am using an older linker but I don't know if
> 2.21.1 would help I can put it into the system though. ld.so seems to be
> working because it can find mpc mpfr and gmp libraries without me manually
> having to use the switches.
>   Any idea what's wrong?

I already answered this offlist when you emailed me about it:

More information about the Gcc-help mailing list