Reputation: 638
I am trying to get my Ruby on Rails application working and installing RMagic gem. But I get an error that says "Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent libraries." Altough I have ImageMagick installed with its dependences. ( http://i46.tinypic.com/2vdl1g6.png )
terminal log http://pastebin.com/vcgkbwZR
I even tried to installed RMagic from Synaptic, but I get the same error when I run "bundle" command.
Through my search, some people had problem with lib dependencies, but I believed I have them all installed.
Another solution I found is this ( error installing RMagick from gem ) a little bit old and not sure if it is going to work for 12.04. BUT, I don't know where those configurations should go.
Upvotes: 0
Views: 808
Reputation: 638
It is working now and RMagick recognizes where ImageMagick is located after I compiled and installed the latest version of ImageMagick from the main website. I followed the instructions: http://www.imagemagick.org/script/install-source.php?ImageMagick=9s6tlikqbn5eb0u0spg5o38sa4#unix
Upvotes: 1
Reputation: 1298
This is a long shot but try running sudo ldconfig
, then do gem install rmagick
again in the same terminal window/tab.
Upvotes: 0