I installed GraphicsMagic with brew and it GraphicsMagic installed FreeType as well. But…
- User
I installed GraphicsMagic with brew and it GraphicsMagic installed FreeType as well. But when I run gm, it outputs "FreeType library is not available". How can I make gm work?
Assistant
You're encountering a common issue when installing GraphicsMagick via Homebrew. While Homebrew installs FreeType alongside GraphicsMagick, there's often a configuration mismatch preventing GraphicsMagick from finding it.
Here's how to fix it:
1. Re-link GraphicsMagick with FreeType:
-
Locate FreeType: Find the path to your FreeType installation. It's usually located in
/usr/local/Cellar/freetype/. -
Re-link GraphicsMagick: Use the following command, replacing with the actual path you found:
-