I'm on OSX Snow Leopard though I think this may not be a platform-specific issue.
The problem is I've wasted hours of my life trying to get gem install rmagick
to work and I'm hoping to save the next person that grief.
I believe the core problem is summed up in the title.
Questions:
- Can anyone confirm that Rmagick 2.13.1 doesn't work with ImageMagick 6.6.4?
- What's the best solution to getting Rmagick installed on Snow Leopard?
- Should MacPorts be used to install ImageMagick? (I couldn't figure out how to tell macports to use an old version of ImageMagick.)
And finally:
Getting ImageMagick to work at all now is giving me fits because I've tried installing various versions in various ways and they're interfering with each other. Below are instructions for purging and reinstalling macports (is that necessary?) but I'm not sure how to clean up other libraries for doing a fresh ImageMagick install. For example, I currently get the following error trying to run ImageMagick
dyld: Library not loaded: /usr/local/lib/libfreetype.6.dylib
Referenced from: /usr/local/bin/convert
Reason: Incompatible library version: convert requires version 11.0.0 or later,
but libfreetype.6.dylib provides version 10.0.0
Perhaps just getting rid of /usr/local/lib/libfreetype* before reinstalling suffices (I'll confirm here when I get ImageMagick working) but is there a more complete/definitive way to do a fresh install of a specific version of ImageMagick?
Appendix: Purging and reinstalling MacPorts
- Purge: http://guide.macports.org/#installing.macports.uninstalling
- Reinstall from scratch: http://distfiles.macports.org/MacPorts/MacPorts-1.9.1-10.6-SnowLeopard.dmg (as of 2010.10.09 -- check http://distfiles.macports.org/MacPorts for latest version)
- Then do
sudo port selfupdate
just to be sure.