Skip to content
This repository

Fails after mountain lion install #65

Closed
pj4533 opened this Issue · 7 comments

7 participants

PJ Gray Matthew Rothenberg Brian Jensen Juan Salcedo Seth Tisue Anson Hoyt Val Milkevich
PJ Gray
pj4533 commented

/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:in
gem_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:in
gem_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:in
load'
from /usr/bin/lolcommits:19
[webapp eacb6a8] derp2
1 file changed, 1 insertion(+)

Matthew Rothenberg
Owner
mroth commented

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

See: http://robots.thoughtbot.com/post/27985816073/the-hitchhikers-guide-to-riding-a-mountain-lion

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. :-/

PJ Gray
pj4533 commented

Thanks man. That worked great.

Brian Jensen

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

Juan Salcedo

Your fix worked great! Thanks!

Seth Tisue

fixed it for me — thanks.

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

Matthew Rothenberg mroth closed this
Anson Hoyt

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

Val Milkevich

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.