Rmagick fails to require lcms-2.1 #16

Closed
bf4 opened this Issue Jul 24, 2014 · 10 comments

Projects

None yet

3 participants

@bf4
Member
bf4 commented Jul 24, 2014

Issue by andoriyu
Sunday Jun 12, 2011 at 22:12 GMT
Originally opened as #26


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?

@bf4
Member
bf4 commented Jul 24, 2014

Comment by tundal45
Friday Jul 22, 2011 at 21:09 GMT


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

@bf4
Member
bf4 commented Jul 24, 2014

Comment by tundal45
Monday Jul 25, 2011 at 14:34 GMT


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! :(

@bf4
Member
bf4 commented Jul 24, 2014

Comment by tundal45
Monday Jul 25, 2011 at 20:27 GMT


@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.

@bf4
Member
bf4 commented Jul 24, 2014

Comment by andoriyu
Tuesday Jul 26, 2011 at 05:06 GMT


@tundal45 first thing i tried.

@bf4
Member
bf4 commented Jul 24, 2014

Comment by tundal45
Tuesday Jul 26, 2011 at 13:29 GMT


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

@bf4
Member
bf4 commented Jul 24, 2014

Comment by linduxed
Saturday Nov 02, 2013 at 15:56 GMT


Is this still an issue?

@bf4
Member
bf4 commented Jul 24, 2014

Comment by hcarreras
Sunday Jan 19, 2014 at 10:15 GMT


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

@vassilevsky
Member

Dear @andoriyu @tundal45 @hcarreras , could you update us on the state of things?

I see that Homebew still has little-cms 1.19 :(

@andoriyu

@vassilevsky

$ gem install rmagick
Building native extensions.  This could take a while...
Please report any bugs. See https://github.com/gemhome/rmagick/compare/RMagick_2-13-2...master and https://github.com/rmagick/rmagick/issues/18
Successfully installed rmagick-2.13.3
Parsing documentation for rmagick-2.13.3
Done installing documentation for rmagick after 5 seconds
1 gem installed
$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]

$ brew info little-cms2 |head -1
little-cms2: stable 2.6 (bottled)

$ brew info little-cms |head -1
little-cms: stable 1.19 (bottled)

$ brew info imagemagick |head -1
imagemagick: stable 6.8.9-8 (bottled), HEAD
@vassilevsky
Member

Thank you. Looks like things have been corrected and it's safe to close this issue.

If someone has fresh evidence that this does not work, feel free to open a new issue.

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