Which system are you running on? Is it RPM-based (Red Hat, Fedora, OpenSuSE), DEB-based (Debian, Ubuntu), TGZ-based (Slackware)? You should run the proper utility to verify all the installed packages and eventually try to re-install them.
For example on a RPM based system you can verify all the installed packages using
this may require a long time, anyway.