Closed dkelosky closed 5 years ago
does ./libwtojni.so
have +p
program control attribute?
if not use extattr +p libwtojni.so
This should help
That's it! Is there some good documentation on this? I haven't come across this before.
Thanks!
Also, do you know why this is needed with the zos
profile?
Great resource - thanks again!
I found this regarding zos
profile:
jzos
provides PlatformAccessControl
, this function calls __check_resource_auth_np
, but I don't see requirement of program controlled
for __check_resource_auth_np
.
When adding the
zos
profile to configuration and calling native code through JNI, you getUnsatisfiedLinkError
during invocation. When starting through JCL, messages like this appear in the job log:Removing the
zos
from the profile "resolves" theUnsatisfiedLinkError
.