This isnt cent os, this is debian and I have had this work before. I dont think it has to do with missing libraries.... but who knows...
mail:/# dpkg -l | grep libstd
ii libstdc++5 3.3.5-13 The GNU Standard C++ Library v3
ii libstdc++6 3.4.3-13 The GNU Standard C++ Library v3 |