I have apps that depend on loading dynamic libraries at runtime. It works for most users, but a small number of users are reporting issues. The dlopen()
call fails with the following error message:
Failed loading awk from awk.framework/awk, cause = dlopen(awk.framework/awk, 0x0009): tried: '/private/var/containers/Bundle/Application/84E2C6C9-CCF1-4E92-9B4E-29557B0F9E
9E/a-Shell.app/Frameworks/awk.framework/awk' (could not register fairplay decryption, mremap_encrypted() => -1)
From the error message, dlopen()
has found the dynamic library (awk.framework/awk
), but failed to open it because of an issue with fairplay or mremap_encrypted()
.
I haven't found any documentation on the issue. Do you have any idea what is happening?