Latest Posts

Topic: 1.2 MacOS ARM - Missing Library

BravoFancypants
Avatar
Topic Opener
Joined: 2022-08-13, 18:32
Posts: 5
OS: Mac OS
Version: 1.2
Ranking
Just found this site
Posted at: 2024-06-05, 03:26

When I try to run the 1.2 I get the following error:

Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @rpath/libjxl_cms.0.9.dylib

Wondering if anyone has found a fix or could point me in the right direction to getting this missing library resolved.


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 2056
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2024-06-05, 12:09

Please see this discussion and try whether the fix posted there helps you:

https://codeberg.org/wl/widelands/issues/4806

After installing MacPorts and sudo port install libjxl, I copied libsharpyuv.0.dylib and libjxl_cms.0.10.2.dylib into Widelands.app/Contents/libs/, then created a symlink for libjxl_cms.0.9.dylib pointing to libjxl_cms.0.10.2.dylib - which I assumed wouldn't work, but did.


Top Quote
BravoFancypants
Avatar
Topic Opener
Joined: 2022-08-13, 18:32
Posts: 5
OS: Mac OS
Version: 1.2
Ranking
Just found this site
Posted at: 2024-06-05, 17:00

Thanks, Nordfriese – before seeing this I tried getting the latest jpeg-xl library with Homebrew, but it didn't like that because it seemed to be looking for a specific version (similar to your response).

On a whim, I tried installing Widelands via Homebrew instead of using the Mac package and that solved the problem. After that, the game launched without issue.


Top Quote