Re: gcc-322 and gcc461

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Bill Cunningham" <billcun@xxxxxxxxxxxxxx> writes:

>    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?

The dynamic linker can't find the library at runtime.  man ldconfig.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux