You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.1
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.19 compiler_4.2.2 tools_4.2.2 curl_4.3.3 remotes_2.4.2
Ok, I found a temporary fix for this (SAP-archive/node-rfc#140 (comment)). 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.
The text was updated successfully, but these errors were encountered: