Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: GD giving me the error "libgd was not built with FreeType font support"

by Anonymous Monk
on Dec 18, 2013 at 00:51 UTC ( #1067563=note: print w/ replies, xml ) Need Help??


in reply to GD giving me the error "libgd was not built with FreeType font support"

How to solve this problem?

Figure out who's lying :)

otoh "libgd was not built with FreeType font support" -> libgd was not built with FreeType font support - MacRumors Forums

(I did have to uninstall libgd first, then re-install --with-freetype) "brew install libgd --with-freetype"
so maybe try that

If you're interested in figuring out the lies grab ldd ... Re^3: DBD::mysql fail install check (crontab debugging troubleshooting DYLD_LIBRARY_PATH ldd otool ...)


Comment on Re: GD giving me the error "libgd was not built with FreeType font support"
Re^2: GD giving me the error "libgd was not built with FreeType font support"
by PacoH (Initiate) on Dec 18, 2013 at 04:42 UTC

    I already did re-install libgd after I read that thread even though brew showed freetype as installed. Didn't work.

    The only thing I can think of is I did try installing GD with cpan before installing it with cpanm and it could not make so I force installed it. Maybe there's some leftover crap somewhere that is messing things up?

    cpan -t GD

    ** WARNING: found gd.h header file in /usr/local/includegd.h, but it is expected at /usr/local/Cellar/gd/2.1.0/include/gd.h. This may cause compile errors! **

      I tried uninstalling GD using pm-uninstall. When I ran

      cpan -t GD

      I got the same warning but it turns out that /usr/local/include/gd.h is just a symlink to the Cellar gd.h

      I tried installing GD again with cpanm and got test errors:

      Failed 1/2 test programs. 7/13 subtests failed. make: *** [test_dynamic] Error 255 Retry with --force to force install it.

      I did a force install and now I'm not getting original error but I am getting this error:

      Can't call method "val" on an undefined value at /Users/user/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/PDF/API2/Resource/XObject/Image.pm line 66.

      I don't know if this is related to the failed tests.

        I'm admittedly groping a bit here. Your process is (to me) a bit choppy. But non-the-less. Since you appear to have (forcefully) re-installed GD, and it appears that the PDF Module is the one now complaining. Why don't you now attempt to re-install PDF::API2, and see if that does it. I think (aside from Perl itself) that's all you have left, to (re)install.

        HTH

        --Chris

        Yes. What say about me, is true.
        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-09-18 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (104 votes), past polls