nysus has asked for the wisdom of the Perl Monks concerning the following question:

When running basic scripts that call Image::Magick on my host provider's machine, I get this error:
perl: constitute.c:2015: ReadImage: Assertion `image_info->signature == 0xabacadab' failed.
I'm anticipating the usual "No one else is having the problem." In fact, they have already said this. But I'm guessing others aren't calling Image::Magick from Perl. A search of the PerlMonks archives turns up nothing. Anyone seen this before?

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop";
$nysus = $PM . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re: Image::Magick problems
by Aragorn (Curate) on Mar 31, 2003 at 18:50 UTC
    Some Googling turned op a Debian bug-report where practically the same error message was reported (ImageMagick was used while building some package). It was also reported fixed in ImageMagick version 5.4.3. The ImageMagick project page shows that the latest version is 5.5.6.

    Probably your provider has installed an old (almost a year) version of ImageMagick. I'm afraid the only you can do is persuade your provider to install a newer version of the libraries.

    Arjen

Re: Image::Magick problems
by thpfft (Chaplain) on Mar 31, 2003 at 19:55 UTC

    a lot of people are using Image::Magick. There's another one starting on the front page as I write. And my answer when you asked this question a couple of hours ago stills stands :)

    If IM tools like convert and mogrify work from the command line, but Image::Magick fails oddly, then it's nearly always because the versions of Imagemagick and Perlmagick don't match. I often find myself in that situation after wresting with a reluctant installation for a while, and the answer is usually to go to the sources from which IM was compiled and install the version of PerlMagick that came with it.