Core dump converting PNGs on Solaris using IM 6.3.6

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
martinw17
Posts: 39
Joined: 2006-09-07T02:10:27-07:00
Location: Brighton, UK

Core dump converting PNGs on Solaris using IM 6.3.6

Post by martinw17 »

Hi,

I have installed ImageMagick 6.3.6 11/22/07 Q16 from source on Solaris, using the standard options for configure.

The following command:
convert test-in.png test-out.png

Results in this error:
Assertion failed: image->signature == MagickSignature, file magick/blob.c, line 469

I get the same error if I try other simple operations using the command line tools such as identify, composite, etc.

Converting JPEGs works fine.

Is this an issue with lib dependencies? libpng-devel is installed (although I don't know which version).

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

Re: Core dump converting PNGs on Solaris using IM 6.3.6

Post by anthony »

That is usally caused by a mismatch between the IM library and the coder modules, etc. Could you have two IM's installed?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
martinw17
Posts: 39
Joined: 2006-09-07T02:10:27-07:00
Location: Brighton, UK

Re: Core dump converting PNGs on Solaris using IM 6.3.6

Post by martinw17 »

Hi Antony,

Thanks for your response.

Actually I have: one installed to the default (/usr/local/) and another to /apps/ - I need to ensure that the new version (installed to /apps) works before I replace the old version in /usr/local (ironic that this is what's causing it to not work!)

I have done this loads of times on our Linux servers and both run fine side-by-side. Is this a Solaris issue?

Any tips for making it work? If need be I'll just install over the top of the old version to /usr/local.

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

Re: Core dump converting PNGs on Solaris using IM 6.3.6

Post by anthony »

When you have two installed you MUST make sure the order of library loading and commands, cause it to use just one set of files and not the other.

I have had two versions of IM installed, without problems, once I had the PATH, LD_LIBRARY_PATH set correctly. The insalled position
should be correct for the compiled code so that the right coder modules are loaded for a specific library, and that means the non-system IM should have been compiled with the correct PREFIX configuration for the installation.


Alturnativally, you can build IM to install a specific NON-SYSTEM version of IM which uses a MAGICK_HOME environment variable to determine the PREFIX for the coder modules. (configure option --disable-installed)

See http://www.imagemagick.org/script/resources.php

Also my rough notes in http://www.cit.gu.edu.au/~anthony/info/ ... gick.hints
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply