Archive for December, 2008
December 10, 2008
Installing RMagick2 on Debian Etch on AMD64
There are plenty of installation howto’s but in none of them I found how to get it running with debian Etch.
So here is how I did it
You can stick with the original installation guide for the beginning. Get the sources of ImageMagick > 6.3, unfortunately the debian etch packages are to old so you have to compile it yourself!
After installing ImageMagick and RMagick you will have this problem:
1 2 3 4 5 6 7 8 9 10 11 12 | irb -rubygems -r RMagick /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so: libMagickCore.so.1: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `require' from /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick.rb:11 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `require' from /usr/lib/ruby/1.8/irb/init.rb:252:in `load_modules' from /usr/lib/ruby/1.8/irb/init.rb:250:in `each' from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules' from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup' from /usr/lib/ruby/1.8/irb.rb:54:in `start' from /usr/bin/irb:13 |
To solve this problem create a new ld.so config by creating a file /etc/ld.so.conf.d/local.conf and add these 2 lines:
1 2 | /usr/lib /usr/local/lib |
and run ldconfig


