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?