I like the Debian apt-get package mechanism, it simply works (Posting the statement
$sudo apt-get install imagemagick
would finalize this post. In Suse however…). Recently I had to install on a Suse 10 (SLES) linux system. Although I had root access, I lack the knowledge/experience how to get the repositories of the configurations to get YAST install whatever I need.
Still, my installation of Alfresco Share had to get up and running, so I prepared to compile ImageMagic myself. See my post about Installing SWFTools @ Suse 10 as well.
I assume you can find the command line and you have privileges like root; you have to have access YAST and install applications.
The main steps are easy
- Download the ImageMagic source
- Compile and install the package
- Create some symbolic links to make things work (with Alfresco)
You need to have a gcc compiler in order to compile packages. Use YAST to install the compiler and the dependencies it needs (being root):
# yast -i gcc
2. Download the ImageMagic source
I downloaded the most recent stable distribution from a mirror close to me. See the ImageMagic website for a list of mirrors, or get it directly from their site (http://www.imagemagick.org/). I got mine from
and stored the tarball in /opt. Unpack the tarball
A new directory will be created containing all source files.
3. Compile and install the package
This sounds more nerdy than it actually is. Navigate into the directory ImageMagick-6.6.1-4 (or any newer version number available). Execute the following commands, and verify they completed successfully: (remind, the ./ in the first command is mandatory!)
Run the followingt command as root:
linux-gate.so.1 => (0xbfffe000)
libMagickCore.so.3 => not found
libMagickWand.so.3 => not found
libbz2.so.1 => /lib/libbz2.so.1 (0x40025000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40036000)
libdl.so.2 => /lib/libdl.so.2 (0x4004b000)
libm.so.6 => /lib/libm.so.6 (0x40050000)
libc.so.6 => /lib/libc.so.6 (0x40075000)
libMagickCore.so: /usr/local/lib/libMagickCore.so /usr/local/lib/libMagickCore.so.3
libMagickWand.so: /usr/local/lib/libMagickWand.so /usr/local/lib/libMagickWand.so.3
# ln -s /usr/local/lib/libMagickCore.so.3
# ln -s /usr/local/lib/libMagickWand.so.3