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.