problem with libfontmanager in jdk 1.7.0u

Mike Swingler swingler at apple.com
Mon Feb 20 09:55:25 PST 2012


The ideal solution is include instructions for obtaining, building, and integrating FreeType into the JDK build on <https://wikis.oracle.com/display/OpenJDK/Mac+OS+X+Port>.

Does anyone have a simple step-by-step instructions for how to pick the right release, building a minimal library required by OpenJDK, and then pointing the Mac JDK build at it?

Thanks,
Mike Swingler
Apple Inc.

On Feb 20, 2012, at 1:20 AM, Michael McMahon wrote:

> This issue arose last week on the list (thread subject "Problems running Swing app with latest build").
> 
> Looking at it again, I notice that 10.7.3 delivers compatibility version 14.0.0 of libfreetype
> whereas 10.7.2 has version 13.0.0. So, in this respect it looks like 10.7.3 is not downwards
> compatible with previous versions of 10.7.
> 
> I guess that means we should be building on 10.7.2 or earlier (if we want full support
> of 10.7.*)
> 
> - Michael.
> 
> On 20/02/12 06:55, Tobias Bley wrote:
>> Hi,
>> 
>> when I try to run my java application with the current jdk 1.7.0u4b10 (http://code.google.com/p/openjdk-osx-build/downloads/detail?name=OpenJDK-OSX-1.7-x64-udev-jdk-u4-b10-20120218.dmg&can=2&q=) I get the following error on startup:
>> 
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: /Library/Java/JavaVirtualMachines/1.7.0u-dev.jdk/Contents/Home/jre/lib/libfontmanager.dylib: dlopen(/Library/Java/JavaVirtualMachines/1.7.0u-dev.jdk/Contents/Home/jre/lib/libfontmanager.dylib, 1): Library not loaded: /usr/X11/lib/libfreetype.6.dylib
>>   Referenced from: /Library/Java/JavaVirtualMachines/1.7.0u-dev.jdk/Contents/Home/jre/lib/libfontmanager.dylib
>>   Reason: Incompatible library version: libfontmanager.dylib requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
>> 
>> What does it mean?
>> 
>> Best regards,
>> Tobi
>> 
>> 
>> 
>> 
> 



More information about the macosx-port-dev mailing list