Page 1 of 1

Using binary release on OSX Lion gives "no decode delegate"

Posted: 2011-09-25T09:14:39-07:00
by mclow
I downloaded the file "ImageMagick-x86_64-apple-darwin11.1.0.tar.gz" and unpacked it.

Then, following the directions at http://www.imagemagick.org/script/binar ... php#macosx ,
I set the environment variables MAGICK_HOME, PATH, and DYLD_LIBRARY_PATH.

I ran "identify --version", and it reported that it was "6.7.2-2".
However, if I try to work with any image files (using either identify or convert, jpeg or tiff), I get the following error:
"no decode delegate for this image format '<file name>' @ error/constitute.c/ReadImage/532."

I tried this on two different machines running Lion, one with the developer tools (Xcode 4.1) installed, and one without.

So - what am I doing wrong?
Thanks in advance!

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-09-25T14:34:57-07:00
by magick
Download the latest ImageMagick binary release for Darwin. We tried it and it worked for us. Let us know if you have any further problem.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-09-25T17:57:02-07:00
by mclow
I would be happy to do so.

Where would I find the "latest ImageMagic binary release"?

The one on the downloads page: http://www.imagemagick.org/script/binar ... php#macosx
(ImageMagick-x86_64-apple-darwin11.1.0.tar.gz) is the one that I am using.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-09-25T18:21:32-07:00
by fmw42
When did you download from that page (Recently?) as your identify -version shows "6.7.2-2" and the current version is 6.7.2-8 as of a day or two ago (at least from the source code). What is the date of your downloaded file? The latest binary version should be on the page at http://www.imagemagick.org/script/binar ... php#macosx

Perhaps you have multiple versions installed that are conflicting? Or your last downloaded file did not actually get installed.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-09-25T18:44:47-07:00
by mclow
Got it: there are multiple different versions of the file
ImageMagick-x86_64-apple-darwin11.1.0.tar.gz

The one I have is dated September 1st, 2011, and has a MD5 of: 4934c0ece66b1c1bbe7588f24b351159

I just downloaded a new one, and it is dated Sept 25 2011 (today), and has an md5 of 220d76938dd3a03898317e3a303f0398

After extracting that and setting the environment vars, identify no longer just segfaults.

$ identify --version
Version: ImageMagick 6.7.2-9

$ identify 03-01.jpeg
Segmentation fault: 11

$ identify 03-01.tiff
Segmentation fault: 11

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-09-25T19:22:04-07:00
by magick
Ok, we can produce the problem now. There seems to be a problem with the dynamic loader under Lion. It worked fine under Snow Leopard. We'll need a few days to investigate. In the mean-time, we re-released the Mac OS X distribution as a static build and it seems to work fine.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-04T00:28:45-07:00
by jlbrown
I just downloaded the MacOS X Binary Release after going to the page:

http://www.imagemagick.org/script/binar ... n15#macosx

and downloading:

http://www.imagemagick.org/download/bin ... 1.0.tar.gz

Did the extract, move and exports.

When I tried to run convert I get

convert logo: logo.gif
Segmentation fault: 11

Running 10.7.1.

Regards,

James.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-06T21:54:55-07:00
by mclow
Tried again - I downloaded the file "ImageMagick-x86_64-apple-darwin11-1.1.0.tar.gz" (dated 10-05-2011), expanded it, and got this:

Code: Select all

$ identify --version
Version: ImageMagick 6.7.2-10 2011-10-05 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

$ identify 2189-Heads.jpg
identify: no decode delegate for this image format `2189-Heads.jpg' @ error/constitute.c/ReadImage/532.
MacPro running 10.7.1

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-13T14:46:54-07:00
by zoapone
Hello,

I also have problems in OS X Lion. Downloaded ImageMagick-x86_64-apple-darwin11.2.0.tar.gz.

$ convert logo: logo.gif
dyld: Library not loaded: /usr/X11/lib/libpng15.15.dylib
Referenced from: /usr/local/ImageMagick-6.7.3/bin/convert
Reason: Incompatible library version: convert requires version 20.0.0 or later, but libpng15.15.dylib provides version 17.0.0
Trace/BPT trap: 5

Any suggestion on what the problem might be?

Thanks in advance!

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-13T16:01:50-07:00
by magick
There is a dependency on the optional X11 install. We'll reissue a Mac binary release by tomorrow that removed this dependency.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-15T01:35:26-07:00
by zoapone
Nice, thanks!

Will this be ImageMagick-x86_64-apple-darwin11.3.0.tar.gz.

Edit:
Ups, 11.2.0 is the Darwin kernel version of course ..

Is the Mac OS X Binary Release updated?

Many thx!

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-17T23:39:46-07:00
by zoapone
The new binary solves the problem, thx!

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-10-18T18:26:29-07:00
by jlbrown
Yes, all works now.

Thanks,

James.

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2011-12-29T15:54:28-07:00
by regisr
I had the same problem, but now the packaged binary work fine.
Now I need to had PerlMagick but it seems needed dynamic libraries.

I tried also to create a static perl version but I obtain the error message:
bin/sh: -fopenmp: command not found

Is it possible to have PerlMagick on Lion?
(not for CGI use! but I use perl to generate a lot of images)

Please Helpppppp!

Sincerely,
Regis

Re: Using binary release on OSX Lion gives "no decode delega

Posted: 2014-06-15T19:32:58-07:00
by jlbrown
I've just tried this on Mac OS X 10.7.5 after downloading the 6.8.9 binary and I get the Segmentation fault again:

$ convert logo: logo.gif
Segmentation fault: 11

Do we need a new binary?

Thanks,

James.