Installing ImageMagick is a pain in the butt
Posted by admin, Mon Jul 03 13:57:26 UTC 2006
Great article, but …
Hivelogic: Articles: Building RMagick on Mac OS X
There are many cool things you can do with the RMagick gem. Unfortunately, it has a handful of pre-requisites that are hard to track down. Worse, some packages have “issues” with Mac OS X, so finding just the right combination of versions can be tricky. Because there’s nothing fun or interesting about building and installing the prerequisites, I’m providing the instructions for you below in one big block. You shouldn’t see any errors, and you can ignore most of the output. If all goes well, after about an hour, you’ll have a working installation of RMagick on OS X installed correctly into /usr/local (why this is important).
Well, a couple of problems. First, this article is not being updated to keep up-to-date with respect to the versions of all the pieces of software that are involved. Freetype is at 2.2.1 and libpng is at 1.2.12. But those are minor issues.
The major issue that I have, is the same issue that I have when attempting the same set of installs using DarwinPorts. After the JPEG lib is installed, I can no longer use the “open” command from the Terminal. That’s more than annoying.
<br />$ open loc.txt <br />dyld: Symbol not found: __cg_jpeg_resync_to_restart<br /> Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO<br /> Expected in: /usr/local/lib/libJPEG.dylib<br />