I’m attempting to learn to use PackageCompiler to make apps, using the instructions here (with a direct copy of the example code).
The app building steps work (if slowly), but when attempting to run the demo app on MacOS I get:
% MyAppComp/bin/MyApp ERROR: could not load library "/Applications/Julia-1.6.app/Contents/Resources/julia/bin/MyApp.dylib" dlopen(/Applications/Julia-1.6.app/Contents/Resources/julia/bin/MyApp.dylib, 6): image not found zsh: segmentation fault MyAppComp/bin/MyApp
On Linux, I get the same error (with .so instead of .dylib and so on).
Any ideas what is missing or what is causing this error? So far I cannot find any hints as to why the shared library paths are not working…