jyr/MNPP — Issue #28: MAC OS Lion libfreetype problem&solution
Author: hmert
Created: 2012-02-04 18:25:30+00:00
State: open

After updating MacOS 10.7.3 (64 bit), getting this error when php tries to start,

dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /usr/X11/lib/libfontconfig.1.dylib
Reason: Incompatible library version: libfontconfig.1.dylib requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
Trace/BPT trap: 5

There is a simple trick to solve this problem. Just override the current MNPP's libfreetype library.

sudo cp /usr/X11/lib/libfreetype.* /Applications/MNPP/Library/lib/