Fails after mountain lion install #65

pj4533 opened this Issue Jul 25, 2012 · 7 comments


None yet

7 participants

pj4533 commented Jul 25, 2012

/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /usr/lib/libltdl.7.dylib (LoadError)
Referenced from: /usr/local/lib/libMagickCore.5.dylib
Reason: image not found - /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' from /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:11 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' from /Library/Ruby/Gems/1.8/gems/lolcommits-0.2.0/lib/lolcommits.rb:8 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' from /Library/Ruby/Gems/1.8/gems/lolcommits-0.2.0/bin/lolcommits:7 from /usr/bin/lolcommits:19:inload'
from /usr/bin/lolcommits:19
[webapp eacb6a8] derp2
1 file changed, 1 insertion(+)

mroth commented Jul 26, 2012

Apparently, Mountain Lion breaks a LOT of stuff, which breaks existing installs of imagemagick :-(


I got it to work by doing the following: update XCode to 4.4, update the XCode command line tools, install XQuartz (imagemagick currently depends on this, and Apple removed it from developer tools in 10.8), and then do the following:

brew uninstall imagemagick
brew install --fresh imagemagick

Let me know if this works for you.

I've filed an issue with homebrew to remove X11 support from the default imagemagick package to make this less of a pain in the ass for new users. :-/

pj4533 commented Jul 26, 2012

Thanks man. That worked great.

bjensen commented Jul 29, 2012

Works like a charm here as well. Thanks :-)


Your fix worked great! Thanks!


fixed it for me — thanks.

also fwiw to get imagemagick to compile, I had to do brew unlink libiconv and brew uninstall libiconv

@mroth mroth closed this Aug 23, 2012

Thanks @mroth, now that your Homebrew ticket is closed I was able to reinstall imagemagick without adding XQuartz. Your solution was a big help.



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment