Why does the GIMP complain about missing or wrong versions of libraries?
There are a couple of solutions. The best one, if you have superuser access on your system, or a cooperative system administrator, is to add the GIMP's library directory to the system library configuration. To do this, edit /etc/ld.so.conf to include /usr/local/lib and then type ldconfig
and things should work from then on.