ImageMagick port outdated
Uli Wienands
wienands at gmail.com
Sun Oct 4 18:30:34 UTC 2020
Just to close this out... I did realize eventually that my ghostscript
port (dependency of ImageMagic) was somehow hosed, and also old. So I
fixed that & then MacPorts declared heic.la as "broken" in its
post-installation scan. Fixed that & some others & then forced a
reinstall of ImageMagic. And low & behold, now heic works!
I won't claim I understand what got fixed, but I have learned to not
argue with success.
So, thanks Ryan and the others for looking at this issue and your
comments & support.
Uli
On 9/30/20 10:51 AM, Ryan Schmidt wrote:
>
> On Sep 29, 2020, at 23:56, Uli Wienands wrote:
>
>> On 9/29/20 12:20 PM, Ryan Schmidt wrote:
>>> On Sep 29, 2020, at 12:04, Ryan Schmidt wrote:
>>>
>>>> On Sep 28, 2020, at 10:52, Ryan Schmidt wrote:
>>>>>> And I am on OS X 10.6.8 on this machine; forgot to say that upfront.
>>>>> Ok. I'll see if I can test on 10.6.
>>>> Well it works for me on 10.6 too.
>>>>
>>>> You could try adding the -verbose flag when you invoke convert but I'm not sure it would tell us much more.
>>> Do still show us the contents of the .la file:
>>>
>>> cat /opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la
>>>
>>> Maybe there is an obvious error in there.
>>>
>>>
>>> When I search Google, I do see lots of reports of the "convert: unable to load module" "file not found" error from lots of other people who are sure the file exists, so the error message appears to indicate any problem loading that module, not necessarily due to the file being absent. Many people end up finding that there was a problem with one of the libraries that the module depends on. MacPorts rev-upgrade should identify such problems and rebuild any broken ports. If you've disabled the automatic use of rev-upgrade, try running it manually now with "sudo port rev-upgrade". Maybe it will find that ImageMagick or one of its dependencies needs to be rebuilt and then it might work.
>>>
>> Ok, here is my heic.la. No clue what his is; I thought .la are library files...
> They are text files created by libtool and appear to describe the library. Before the release of OS X we determined that .la files were unnecessary for MacPorts generally so we remove them on 10.9 and later. ImageMagick however uses these files to load its modules, so we keep these files for the ImageMagick port and a couple others.
>
>
>> Uli
>>
>> macbook-pro:Pictures uli$ cat /opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders/heic.la
>> # heic.la - a libtool library file
>> # Generated by libtool (GNU libtool) 2.4.6
>> #
>> # Please DO NOT delete this file!
>> # It is necessary for linking the library.
>>
>> # The name that we can dlopen(3).
>> dlname='heic.so'
>>
>> # Names of this library.
>> library_names='heic.so heic.so'
>>
>> # The name of the static archive.
>> old_library=''
>>
>> # Linker flags that cannot go in dependency_libs.
>> inherited_linker_flags=' -pthread'
>>
>> # Libraries that this one depends upon.
>> dependency_libs=''
>>
>> # Names of additional weak libraries provided by this library
>> weak_library_names=''
>>
>> # Version information for heic.
>> current=0
>> age=0
>> revision=0
>>
>> # Is this an already installed library?
>> installed=yes
>>
>> # Should we warn about portability when linking against -modules?
>> shouldnotlink=yes
>>
>> # Files to dlopen/dlpreopen
>> dlopen=''
>> dlpreopen=''
>>
>> # Directory that this library needs to be installed in:
>> libdir='/opt/local/lib/ImageMagick-6.9.11/modules-Q16/coders'
>>
>
> Ok, that's identical to mine, so there's no problem there.
>
More information about the macports-users
mailing list