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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
mclow
Posts: 4
Joined: 2011-09-25T09:06:22-07:00
Authentication code: 8675308

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

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
mclow
Posts: 4
Joined: 2011-09-25T09:06:22-07:00
Authentication code: 8675308

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

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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.
mclow
Posts: 4
Joined: 2011-09-25T09:06:22-07:00
Authentication code: 8675308

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
jlbrown
Posts: 3
Joined: 2011-10-04T00:21:34-07:00
Authentication code: 8675308

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

Post 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.
mclow
Posts: 4
Joined: 2011-09-25T09:06:22-07:00
Authentication code: 8675308

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

Post 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
zoapone
Posts: 3
Joined: 2011-10-13T14:41:58-07:00
Authentication code: 8675308

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

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

There is a dependency on the optional X11 install. We'll reissue a Mac binary release by tomorrow that removed this dependency.
zoapone
Posts: 3
Joined: 2011-10-13T14:41:58-07:00
Authentication code: 8675308

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

Post 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!
zoapone
Posts: 3
Joined: 2011-10-13T14:41:58-07:00
Authentication code: 8675308

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

Post by zoapone »

The new binary solves the problem, thx!
jlbrown
Posts: 3
Joined: 2011-10-04T00:21:34-07:00
Authentication code: 8675308

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

Post by jlbrown »

Yes, all works now.

Thanks,

James.
regisr
Posts: 3
Joined: 2010-03-07T12:28:20-07:00
Authentication code: 8675308

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

Post 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
jlbrown
Posts: 3
Joined: 2011-10-04T00:21:34-07:00
Authentication code: 8675308

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

Post 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.
Post Reply