CarloM 3 Posted March 23, 2020 Hello, With last update of operating system (Mac OS Catalina 10.15.3) I can´t send emails via Indy. I use a gmail account. I receive this error: Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. Any idea or fix ? Thank you Share this post Link to post
Dave Nottage 557 Posted March 23, 2020 Which dylibs are you using? These worked for me on whatever version of 10.15.x was current 6 months ago: https://github.com/DelphiWorlds/KastriFree/tree/master/Lib/OpenSSL/1.0.2s/macOS I have not tested them on 10.15.3 as yet. Share this post Link to post
Remy Lebeau 1394 Posted March 23, 2020 (edited) 9 hours ago, CarloM said: Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. If you are using an up-to-date version of Indy, the IdSSLOpenSSLHeaders unit has IdOpenSSLSetCanLoadSymLinks() and IdOpenSSLSetLoadSymLinksFirst() functions available. By default, Indy attempts to load unversioned dylibs before loading versioned dylibs. You can turn off this behavior, which is useful in cases where the unversioned dylibs are symlinks to versioned dylibs that are not compatible with Indy. Or, in this case, to turn off the loading of unversioned dylibs altogether. Edited March 23, 2020 by Remy Lebeau Share this post Link to post
CarloM 3 Posted March 24, 2020 17 hours ago, Dave Nottage said: Which dylibs are you using? These worked for me on whatever version of 10.15.x was current 6 months ago: https://github.com/DelphiWorlds/KastriFree/tree/master/Lib/OpenSSL/1.0.2s/macOS I have not tested them on 10.15.3 as yet. Hi Dave, but you deploy dylib ? actually I use openssl from mac os Share this post Link to post
CarloM 3 Posted March 24, 2020 1 minute ago, CarloM said: Hi Dave, but you deploy dylib ? actually I use openssl from mac os I use last delphi Rio 10.3.3, I understand that includes last indy ? compiled app with 10.3.2 works ok but no last version of delphi Share this post Link to post
Dave Nottage 557 Posted March 24, 2020 6 hours ago, CarloM said: but you deploy dylib ? Yes; I would not have mentioned them otherwise. 6 hours ago, CarloM said: actually I use openssl from mac os Depending on the version of macOS (especially later versions), the OpenSSL libs will not work with Indy. 6 hours ago, CarloM said: compiled app with 10.3.2 works ok but no last version of delphi Perhaps something in Indy changed. Share this post Link to post