ImageMagick port outdated

Richard L. Hamilton rlhamil at smart.net
Mon Sep 28 08:28:58 UTC 2020


locate doesn't do wildcards.

$ locate -i hei | fgrep .la
/opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la


> On Sep 28, 2020, at 04:15, Christoph Kukulies <kuku at kukulies.org> wrote:
> 
> FWIW, with me here, macOS 10.15.6:
> 
> $ port list ImageMagick
> ImageMagick                    @6.9.11-29      graphics/ImageMagick
> 
> 
> $ sudo /usr/libexec/locate.updatedb
> $ locate *.la | grep hei
> $ 
> 
> Nothing related to heif, heic.
> 
>> Christoph
> 
>> Am 28.09.2020 um 07:39 schrieb Ryan Schmidt <ryandesign at macports.org <mailto:ryandesign at macports.org>>:
>> 
>> 
>> 
>> On Sep 27, 2020, at 18:20, Uli Wienands wrote:
>> 
>>> Being curious, and just having received my first .HEIC image ever (form a guy with an iPhone), I upgraded ImageMagic to the present version (worked) and then tried it: It failed. Here are the call & the error message:
>>> 
>>> macbook-pro:Pictures uli$ convert IMG_3160.HEIC img_3160.png
>>> convert: unable to load module `/opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la <http://heic.la/>': file not found @ error/module.c/OpenModule/1315.
>>> convert: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/566.
>>> convert: no images defined `img_3160.png' @ error/convert.c/ConvertImageCommand/3226.
>>> 
>>> The weird thing is that /opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la <http://heic.la/> actually exists, and so are the four related libraries in /opt/local/bin: /opt/local/lib/libheif.1.dylib /opt/local/lib/libheif.a    /opt/local/lib/libheif.dylib /opt/local/lib/libheif.la <http://libheif.la/>
>>> 
>>> So, what could be amiss?
>> 
>> Not sure! I tried converting some heic images now and it worked fine for me on macOS 10.13.6.
>> 
>> What's the contents of /opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la <http://heic.la/>?
>> 
>> Does /opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.so also exist? What's the output of:
>> 
>> otool -L /opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.so
>> 
>> 
>> What OS version are you on? You mentioned /opt/local/lib/libheif.la <http://libheif.la/> exists. The default behavior for MacPorts is to delete .la files* on OS X 10.9 and later. If you are on 10.8 or earlier, maybe there is a problem specific to older OS versions that we need to investigate. The only reason why you should have /opt/local/lib/libheif.la <http://libheif.la/> if you're on 10.9 or later is if you edited macports.conf and set "delete_la_files no".
>> 
>> 
>> *ImageMagick is an exception. It needs the .la files of its modules for proper operation so they will not be deleted for that port on any OS version.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200928/f860fced/attachment.htm>


More information about the macports-users mailing list