I trying to compile a C++ code but I’m receiving the following message:
/usr/bin/ld: warning: libstdc++.so.5, needed by /afs/cern.ch/sw/lcg/external/root/5.13.04/slc3_gcc323/root/lib/libNew.so, may conflict with libstdc++.so.6
I trying to compile a C++ code but I’m receiving the following message:
/usr/bin/ld: warning: libstdc++.so.5, needed by /afs/cern.ch/sw/lcg/external/root/5.13.04/slc3_gcc323/root/lib/libNew.so, may conflict with libstdc++.so.6
g++ -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
cat /etc/redhat-release
Scientific Linux CERN SLC release 4.5 (Beryllium)
uname -a
Linux pcata0022.cern.ch 2.6.9-55.EL.cern #1 Thu May 10 17:42:26 CEST 2007 i686 athlon i386 GNU/Linux[/quote]
Probably the ROOT was compiled with gcc3.2.3 - which uses libstdc++.so.5.0.3.
But you are trying to compile your application with gcc 3.4.6 - which uses libstdc++.so.6.0.3.
You may want either recompile ROOT with your compiler version or switch to gcc3.2 (find it somewhere installed on your system or compile it yourself).