rmagick-temp / rmagick

An interface to the ImageMagick and GraphicsMagick image processing libraries.
http://rmagick.rubyforge.org/
MIT License
790 stars 102 forks source link

Rmagick fails to require lcms-2.1 #26

Open andoriyu opened 13 years ago

andoriyu commented 13 years ago

Snow Leopard 10.6.7

/Users/andoriyu/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:239:in `require': dlopen(/Users/andoriyu/.rvm/gems/ruby-1.9.2-p180/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /usr/local/Cellar/little-cms/2.1/lib/liblcms2.2.dylib (LoadError) Referenced from: /Users/andoriyu/.rvm/gems/ruby-1.9.2-p180/gems/rmagick-2.13.1/lib/RMagick2.bundle Reason: image not found - /Users/andoriyu/.rvm/gems/ruby-1.9.2-p180/gems/rmagick-2.13.1/lib/RMagick2.bundle

Thing is homebrew doesn't have formula fir little-cms 2.1, only 1.19. Is there any work around?

tundal45 commented 13 years ago

I submitted a pull request on homebrew to update little-cms to 2.1. If the homebrew guys agree, we hopefully will have a workaround for this. I do not want to even think about the alternative :).

tundal45 commented 13 years ago

I tried by just updating my local formula to install 2.1 and that does not work because some other part of the code looks for 1.0.19 of little-cms. HALP! :(

tundal45 commented 13 years ago

@andoriyu I am not sure if this is the same issue you are having but I had to gem uninstall rmagick & run bundle install again so that the gem would get compiled against the latest imagemagick & dependencies.

andoriyu commented 13 years ago

@tundal45 first thing i tried.

tundal45 commented 13 years ago

Ah. And you are still experiencing the issue? Strange.

linduxed commented 10 years ago

Is this still an issue?

hcarreras commented 10 years ago

I have the same issue here... and no idea how to fix it. Can someone help?