Problem with IM on UBUNTU 7.10

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
emilio.remogna

Problem with IM on UBUNTU 7.10

Post by emilio.remogna »

Hi all!

I have a problem with IM on Ubuntu 7.10.

I tried IM (v. 6.3.5) on Ubuntu 7.04 and all worked fine.

Now I use Ubuntu 7.10.

I've downloaded the latest IM release (6.3.7-1) and installed IM on my system.

When I try to use convert command, the terminal says

Code: Select all

convert: error while loading shared libraries: libMagick.so.10: cannot open shared object file: No such file or directory
After a

Code: Select all

make uninstall
, I've tried the Synaptic version of IM: it works properly, but it's quite old...

Also the 6.3.5 version (which I used on Ubuntu 7.04) catches the same error.

Can anybody help me?

Thank you!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problem with IM on UBUNTU 7.10

Post by anthony »

It just means the library was not found during runtime initialization.
generally you need to use "ldconfig" after installing new libraries, and ensure that your LD_LIBRARY_PATH is set correctly.

The "ldd" command on a executable will also let you know if all the libraries needed are found, and which library was selected.

Having used Ubuntu Gutsy (7.10) for a few weeks, before switcting to Fedora 8 (I am a UNIX expert and need to keep a working understanding of alots of UNIX flavors) I can understand your frustration. The Debian version is far too old.

Unfortunately I am not specialized enough to know how to create a new proper debian package for IM. If I was I would incorporate the debian package build into the IM source so that future releases of IM can be more easily built for Ubuntu and other debian systems. Not just the yum/rpm/redhat/fedora systems.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
emilio.remogna

Re: Problem with IM on UBUNTU 7.10

Post by emilio.remogna »

After having installed again IM 6.7.1, I've used "ldconfig" (as root) and now all works fine.

Thank you!
Post Reply