Building under Ubuntu

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Building under Ubuntu

Post 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.
snibgo's IM pages: im.snibgo.com
Post Reply