Posts Tagged ‘imagemagick’

Install ImageMagick on Mac OS X using MacPorts

Logo for ImageMagick
Image via Wikipedia

The easiest way to install ImageMagick on a Mac system (Snow Leopard) is to download and install MacPorts:

http://www.macports.org/install.php

After installing MacPorts via the package installer just enter

sudo port install ImageMagick

and that’s it.

RMagick is not accepting ImageMagick version

I just updated couple of gems and got this message while trying to start the WEBrick server:

This installation of RMagick was configured with ImageMagick 6.5.1 but ImageMagick 6.5.7-8 is in use.

One temporary solution (besides downgrading ImageMagick) is to avoid the version checking by adding

RMAGICK_BYPASS_VERSION_TEST = true

into your environment.rb for example.

/usr/bin/ld: cannot find -lperl

I just compiled ImageMagick and got the following error when trying to run a make install

/usr/bin/ld: cannot find -lperl

To fix this, I had to install Perl libraries via

sudo apt-get install libperl-dev

cannot open shared object file: No such file or directory

I’ve gotten this error after i’ve installed ImageMagick (from source) and RMagick (using gem) on my Debian system

libMagickCore.so.2: cannot open shared object file: No such file or directory – /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so

To get rid of this error i executed

ldconfig /usr/local/lib