Description
See Huber-group-EMBL/Rhdf5lib#58 and #245 for some background.
A central idea to the business of building and distributing Mac binaries for CRAN and Bioconductor packages is that these binaries should work on a pristine Mac where those optional system libraries are not necessarily available.
On the Mac builders we want to install Simon's openssl binary from https://mac.r-project.org/bin/. These binaries contain static libraries only (.a
files, e.g. /opt/R/arm64/lib/libcrypto.a
). They don't contain dynamic libraries (.dylib
files). Bioconductor packages that need to link against the crypto library should link against /opt/R/arm64/lib/libcrypto.a
.
Also, for the sake of keeping the Mac builders as clean as possible, and to avoid the risk of linking to the wrong libraries, we should try to avoid having the brewed openssl. Note that this one provides both libcrypto.a
and libcrypto.dylib
.