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:
/usr/lib/x86_64-linux-gnu
Looking at Makefile.gnu in the libfreeimage source zip, it installs to:
/usr/lib
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!
-Caleb