Trying to load an SSL implementation on macOS results in "loading libcrypto...
Pascal TCP/IP Library
Brought to you by:
geby
MacOS Big Sur.
Trying to run an application using Synapse with SSL results in the following message :
WARNING: myapp is loading libcrypto in an unsafe way
the application is then killed by the operating system.
This is because OpenSSL versions are not binary compatible and referring to the library by just "libssl.dylib" might result in loading a version with an incompatible ABI.
The fix is to change "libssl.dylib" and "libcrypto.dylib" in ssl_openssl3_lib.pas to "libssl.3.dylib" and "libcrypto.3.dylib" respectively. I haven't checked OpenSSL 1.1 but would expect the same error to happen when trying to load it.
Fixed, thank you!