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.
Use the property OpenSSL_Options.UnixSymLinks to enable or disable the loading of SymLinks under Unix systems (by default is enabled, except under OSX64):
procedure ConnectToServer; var oClient: TsgcWebSocketClient; begin oClient := TsgcWebSocketClient.Create(nil); oClient.Host := 'wss://www.esegece.com'; oClient.TLSOptions.OpenSSL_Options.UnixSymLinks := oslsSymLinksDontLoad; oClient.Active := True; end;
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.