1 When compiling gcc-3.4.6 on CentOS4 with /usr/lib64/libstdc++.so.6.0.3
../gcc-3.4.6/configure --prefix=/opt/build/gcc3 --enable-languages=c,c++,d
Error:
./gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
FIX:
Replace the origin libstdc++.so.6 with the new compiled
./x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6
2