This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help with build failing
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Neeraj Jakhar <neeraj dot jakhar at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 10 Oct 2011 17:21:58 +0100
- Subject: Re: Help with build failing
- References: <CAOSwV8nrXLhRXYLv06V6Vp60pHVfA9nWRBnOCRkuFEmWDaCtow@mail.gmail.com> <CAOSwV8maQZNY+zRae_oXa8c+aLFPZ0A0W-1voiHXv++R=9MmiA@mail.gmail.com>
On 10 October 2011 13:38, Neeraj Jakhar wrote:
> lrwxrwxrwx?? 1 root???? other???????? 18 Nov 26? 2008 libstdc++.so ->
> libstdc++.so.6.0.3
> lrwxrwxrwx?? 1 root???? other???????? 18 Nov 26? 2008 libstdc++.so.6
> -> libstdc++.so.6.0.3
> -rwxr-xr-x?? 1 bin????? bin????? 1614392 Jul 21? 2007 libstdc++.so.6.0.3
> drwxr-xr-x?? 2 root???? other??????? 512 May 27? 2009 perl5
>
> Which means libstdc++ is present in /usr/local/lib. Also, including
> /usr/local/lib in the library search path (-L/usr/local/lib) makes no
> difference.
>
>
> Some other information:
>
> bash-2.03$ gcc --version
> 2.95.2
> bash-2.03$ g++ --version
> 2.95.2
That libstdc++.so.6.0.3 comes from gcc 3.4.3, so does not match the
compiler you're using.
Is there a good reason you have to use a prehistoric GCC version?