Problems with IM installation on Ubuntu 9.04 (SOLVED)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
frank09

Problems with IM installation on Ubuntu 9.04 (SOLVED)

Post by frank09 »

Dear all,
I'm going through some problems while installing ImageMagick on Ubuntu 9.04 Server.
I'm sorry not to be dealing with a Desktop distribution, where it seems correctly pre-installed.

Now, in my case, I run through 3 different problems:
- firstly, I run apt-get install imagemagick, and files were put in
/usr/lib/ImageMagick..../ but they are searched in runtime in /usr/local/lib/ImageMagick..../
/usr/share/ImageMagick..../ but they are searched in runtime in /usr/local/share/ImageMagick..../
Moreover, the config/delegates.xml was put in one of the folders above, and searched on the other.
I tried moving all config files in /usr/share/Ima... and creating a lot of symbolic links. So the first error "cannot open delegates.xml" disappeared.

- Secondly, it said not to be able to read png files... I cannot report exactly the error message, because of the third problem I've created now :-(

- Lastly, during a reinstallation attempt, I manually removed some files /usr/local/lib/libMagickCore.*, but they were not recovered with ImageMagick reinstallation. Now I get
convert: error while loading shared libraries: libMagickCore.so.2: cannot open shared object file: No such file or directory

Can someone help me, please?
I will not do any more try, without some guidance, I promise! :-)

Thank you,
frank
Last edited by frank09 on 2009-07-05T14:31:38-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problems with IM installation on Ubuntu 9.04

Post by fmw42 »

I cannot help much with your problem. All I can add is that to use jpg, png, tif, etc images, you also need to install the delegate libraries for them.

see
http://www.imagemagick.org/script/advan ... lation.php
http://www.imagemagick.org/download/delegates/

You may want to google for more recent versions of some of the delegates
frank09

Re: Problems with IM installation on Ubuntu 9.04 (SOLVED)

Post by frank09 »

After long struggling, I solved everything by removing aptitude installation, and making the manual setup as described by Shane in http://www.digitalsanctum.com/2009/03/1 ... buntu-804/.

Goodnight,
frank
Berilac

Re: Problems with IM installation on Ubuntu 9.04 (SOLVED)

Post by Berilac »

I have been having problems with installing 6.5.4-6. In as much as it has installed and passed the tests but was throwing up errors.

Followed the link in frank09's last post and hey presto all is working, excellent. Thanks for the post.

Oh by the way I am on Debian 5.02(lenny), even tho the advice was for ubuntu it worked for me also. Just in case anyone on the same distro is having probs.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problems with IM installation on Ubuntu 9.04 (SOLVED)

Post by anthony »

This is very straight forward, but nothing special. just a standard ‘make’ installation from the downloaded TAR archive.

A package installation (build a "deb" package) is the ideal solution as it means the system itself can handle cleanup and upgrade the software when new “deb” packages are made available, either manually or via some package repository.

I have the notes on building RPM packages for Fedora and other Redhat derivative linux, but do not have the knowledge on how to create an appropriate "deb" package.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply