libfreetype missing on a clean install macOS.

4 views
Skip to first unread message

Martijn Courteaux

unread,
Jan 16, 2018, 9:23:21 AM1/16/18
to Gravit mailing list
Error report says:   Library not loaded: /usr/X11/lib/libfreetype.6.dylib
I have not installed any XQuartz, so that must be the issue. However, weird that SDL_ttf uses this.
Brew install freetype does not fix it, I will try to fix the loader command in the binary.

brew install freetype
sudo install_name_tool -change /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.6.dylib /Applications/Gravit.app/Contents/Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf

This fixed it for me. So I guess you should ship the libfreetype.6.dylib with the binary and fix the search path, like I did.
Reply all
Reply to author
Forward
0 new messages