It comes because libstdc++.so.5 is installed in other library folders, rather than /usr/lib. If you make symbolic link to /usr/lib from the folder where libstdc++.so.5 is installed. It's solved.
ln -s /opt/gcc33/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5
Remember that in my computer /opt/gcc33 is the folder where I have installed new gcc. It can be different in your computer. Just search the libstdc++.so.5.