Page 1 of 1

Building under Ubuntu

Posted: 2010-02-17T08:40:49-07:00
by snibgo
No questions; just some notes might might save someone some grief.

I installed Linux 9.04 from the current version of ArtistX. Then I downloaded IM from ftp://ftp.imagemagick.org/pub/ImageMagi ... ick.tar.gz, and compiled from source, as directed by
http://www.imagemagick.org/script/insta ... dunk7#unix
and
http://www.imagemagick.org/script/advan ... lation.php

$ tar xvfz ImageMagick.tar.gz
$ cd ImageMagick-6.5.9
$ ./configure
$ make
$ sudo make install

I had three problems.


(1) The relevant directory was ImageMagick-6.5.9-6, not ImageMagick-6.5.9 as given in the documentation.


(2) I had a library problem.

$ convert -version (or any other command)
gives an error:
convert: error while loading shared libraries: libMagickCore.so.3: cannot open shared object file: No such file or directory

I eventually discovered the fix is:

$ make distclean
$ ./configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
$ make
$ sudo make install


(3) On the day of compilation, "convert logo: logo.png" etc complained it couldn't find delegates.xml. The following day, it was fine. I guess the reboot cured it.