Macos HEIF library not found?

Ask for help and post your question on how to use XnView MP.

Moderator: xnview

duittenb
Posts: 5
Joined: Wed Jun 19, 2024 11:32 am

Macos HEIF library not found?

Post by duittenb »

With the latest version (1.11.5 [10164]) I run into a HEIF library issue (wrong name?)

Launch Xnviewmp from command-line: /Applications/XnViewMP.app/Contents/MacOS/xnviewmp

Code: Select all

0.35.1 (git 652c616) - Multimedia Development Kit. Copyright (c) 2016-2025 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: macOS110000/26.5.1 25.5.0 16KB ARMv8 AArch64; libc++200100; Apple Clang17.0.0 (clang-1700.4.4.1); 07:39:03 Dec 30 2025. Mac14,15
==> 1.000000  1.000000  110.000002  72.000000  (0)
HEIF: dlopen(/Applications/XnViewMP.app/Contents/MacOS/Plugins/libheif.dylib, 0x0001): Library not loaded: @rpath/libde265.0.dylib
  Referenced from: <4F1961DD-8538-3144-A489-4B65D60F0A52> /Applications/XnViewMP.app/Contents/MacOS/Plugins/libheif.dylib
  Reason: tried: '/Applications/XnViewMP.app/Contents/Frameworks/libde265.0.dylib' (no such file), '/Applications/XnViewMP.app/Contents/Frameworks/libde265.0.dylib' (no such file) 
 Version : 26 5 
Created symlink to the file where it expects it to be

Code: Select all

sudo ln -s libde265.dylib \
  /Applications/XnViewMP.app/Contents/Frameworks/libde265.0.dylib
Now starting xnviewmp works without errors.

Bug? Don't know what the impact is.