After upgrading to MacOS Monterey, you may experience an error trying to load the openSSL libraries.
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.
This error appears when trying to load an unversioned dylib instead of a library with a revision number.
To avoid this error, there is a new property in OpenSSL_Options.UnixSymLinks where this can be configured.
Configuration
Use the property OpenSSL_Options.UnixSymLinks to enable or disable the loading of SymLinks under Unix systems (by default is enabled, except under OSX64):
- oslsSymLinksDefault: by default are enabled except under OSX64 (after MacOS Monterey fails trying to load the library without version.).
- oslsSymLinksLoadFirst: Load SymLinks and do before trying to load the version libraries.
- oslsSymLinksLoad: Load SymLinks after trying to load the version libraries.
- oslsSymLinksDontLoad: don't load the SymLinks.