Skip to content

Instantly share code, notes, and snippets.

@philadams-zz
Created January 1, 2012 00:20
Show Gist options
  • Save philadams-zz/1545745 to your computer and use it in GitHub Desktop.
Save philadams-zz/1545745 to your computer and use it in GitHub Desktop.
# PIL doesn't know OS X comes with freetype. Add links before (re)installing.
# Now you can just install jpeg using homebrew, and then PIL with pip.
ln -s /usr/X11/include/freetype2 /usr/local/include/
ln -s /usr/X11/include/ft2build.h /usr/local/include/
ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/
ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment