Forum: Ruby on Rails libMagickCore.so.4: cannot open shared object file:

Posted by Mlle (Guest)
on 2011-11-03 20:28
(Received via mailing list)
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/activesupport-3.1.1/
lib/active_support/dependencies.rb:240:in `require': libMagickCore.so.
4: cannot open shared object file: No such file or directory - /usr/
local/rvm/gems/ruby-1.9.2-p290@global/gems/rmagick-2.13.1/lib/
RMagick2.so (LoadError)


I get this error when I try to start my app.  Any ideas?

I checked and this file does exist: /usr/local/rvm/gems/ruby-1.9.2-
p290@global/gems/rmagick-2.13.1/lib/RMagick2.so
Posted by Mlle (Guest)
on 2011-11-03 21:10
(Received via mailing list)
I had to do this
ldconfig /opt/lib/imagemagick/lib
Posted by Ariel Parra (darkaico)
on 2012-12-28 15:18
I have an arch linux, and had the same problem.
What works on me was install directly the rmagick with the gem 
installing (apart from the added on the Gemfile)

    gem install rmagick
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.