On Tue Jun 25 23:48:45 2013, horus.set.ra@gmail.com wrote:
Show quoted text> Tony asked that I post this here.
>
> If I do (basically what cpanm does):
>
> perl Makefile.PL
>
>
> Libraries found:
> FT2
> PNG
> Libraries *not* found:
> GIF
> JPEG
> T1
> TIFF
> Win32
>
>
> But if I do:
>
> perl Makefile.PL --incpath=/data/apps/include --libpath=/data/apps/lib
>
> Then I get:
>
> Libraries found:
> FT2
> JPEG
> PNG
> Libraries *not* found:
> GIF
> T1
> TIFF
> Win32
>
> Note that libjpeg is found the second way. I have these environment
> variables set so it should find the libraries:
>
> LD_RUN_PATH=/data/apps/lib:$LD_RUN_PATH
> DYLD_LIBRARY_PATH=/data/apps/lib:$DYLD_LIBRARY_PATH
> LD_LIBRARY_PATH=/data/apps/lib:$LD_LIBRARY_PATH
>
> That's what I have to set to get MySQL and ImageMagic to find the
> libraries on a custom path. So I just assumed that would work for
> Imager as well.
Imager 0.98 searches those locations for libraries and headers, so fixed.
Tony