OpenJDK build and libfreetype

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Oct 24 04:49:00 PDT 2012


On 2012-10-24 03:16, David Holmes wrote:
> Probably a FAQ but I just tried to force an OpenJDK build of my forest 
> and it failed:
>
> /usr/bin/ld: cannot find -lfreetype
>
> what do I have to set to make this work?

You have to specify --with-freetype to configure, pointing to your 
freetype installation.

I'm not sure why a missing freetype wasn't caught by configure, though. 
On the other hand, the freetype handling in configure is currently 
really crappy, so I'm not surprised. (I'm hoping I'll have enough time 
to fix that before I leave.)

/Magnus



More information about the build-infra-dev mailing list