libstdc++.so.5 has been removed in Ubuntu Karmic.

This should help you:
Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic)