You will need to re-install Imager, if you haven't done so already
If you still don't get the giflib detacted during Makefile.PL you can tell Makefile.PL where to look with the --incpath and --libpath options:
but if you installed with a prefix of /usr or /usr/local (which is typical) then it should pick it up automatically.