Haha, I can't even remember what I had for lunch yesterday, let alone something that happened 2 years ago
But maybe I can still be useful... If your linux distro is like mine, it installs libfreeimage in the directory:
Looking at Makefile.gnu in the libfreeimage source zip, it installs to:
My guess would be you've got the library at both locations? If so, I'd blast the one installed by the distro. Something like this (depending on if you installed the dev and dbg libraries)
sudo apt-get remove libfreeimage3 libfreeimage-dev libfreeimage-dbg
Hope that helps!