Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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"

Replies are listed 'Best First'.
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/ 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.



        Yes. What say about me, is true.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067563]
[Corion]: LanX: Sure I can, but this is nothing that interests my module. It might be of concern to the user who expect the Chrome version number to have meaning ;)
[LanX]: well you can warn about missing features...
[LanX]: ... i.e. avoid headaches about bug reports...
[Corion]: Yeah, I've updated the documentation to mention just that :)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-12-12 20:38 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (336 votes). Check out past polls.