Closed akhst7 closed 1 year ago
Ok, I found a temporary fix for this (https://github.com/SAP/node-rfc/issues/140#issuecomment-675260978). This allowed the installation of any packages with Rhdf5lib.so dependency without running into the code-sign issue. After installation of packages, enable the spctl global assessment rule.
Hi,
I am using M1 Mac running OSX 13.1 and installed an arm-64 binary of Rhd5lib (1.21.1). Any packages with Rhdf5lib dependency throws a fit with a following error;
dlopen(/Volumes/Document/4.x_Rlib/Rhdf5lib/libs/Rhdf5lib.so, 0x0006): tried: '/Volumes/Document/4.x_Rlib/Rhdf5lib/libs/Rhdf5lib.so' (code signature in <91B3FCF0-4D32-3BF4-9306-793F960DD6B1> '/Volumes/Document/4.x_Rlib/Rhdf5lib/libs/Rhdf5lib.so' not valid for use in process: library load disallowed by system policy), '/System/Volumes/Preboot/Cryptexes/OS/Volumes/Document/4.x_Rlib/Rhdf5lib/libs/Rhdf5lib.so' (no such file), '/Volumes/Document/4.x_Rlib/Rhdf5lib/libs/Rhdf5lib.so' (code signature in <91B3FCF0-4D32-3BF4-9306-793F960DD6B1> '/Volumes/Document/4.x_Rlib/Rhdf5lib/libs/Rhdf5lib.so' not valid for use in process: library load disallowed by system policy)
It looks like an OSX code signing issue but I'd appreciate any workaround for this issue.