Could not initialize openSSL library ? [SOLVED] lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Robert W.B. · 2018-05-28 10:58 Hi friends. I have developed a complete Lazarus app and now i want to distribute it as a demo to my users. I usually use windows urlmon to download data from the server but, now i use fphttpclient instead, when i download data from the server. My hopes is that fphttpclient will work on Mac also. From Lazarus client, the app works fine but, when i use fphttpclient in my Lazarus app on a computer without Lasarus i get this error:Could not initialize openSSL library ? Is there anyone who can answer which openSSL library, which is compatible with my Lazarus app, I have to use when I will distribute the app. Thanks in advance. Bob ---------------------------------------------------------------------- Phil · 2018-05-28 13:02 Quote from: R.Blennerhed on May 28, 2018, 12:58:01 pmIs there anyone who can answer which openSSL library, which is compatible with my Lazarus app, I have to use when I will distribute the app. On Windows, you'll need to include ssleay32.dll and libeay32.dll from here: http://indy.fulgan.com/SSL/ Make sure you have the right bitness (32-bit / 64-bit). They're named the same. ---------------------------------------------------------------------- Thaddy · 2018-05-28 13:37 Quote from: Phil on May 28, 2018, 03:02:25 pmQuote from: R.Blennerhed on May 28, 2018, 12:58:01 pmIs there anyone who can answer which openSSL library, which is compatible with my Lazarus app, I have to use when I will distribute the app. On Windows, you'll need to include ssleay32.dll and libeay32.dll from here: http://indy.fulgan.com/SSL/ Make sure you have the right bitness (32-bit / 64-bit). They're named the same. On a MAC openssl is phased out? I forgot what replaced it. My Mac is lazy. ---------------------------------------------------------------------- Phil · 2018-05-28 13:46 Quote from: Thaddy on May 28, 2018, 03:37:19 pm On a MAC openssl is phased out? I forgot what replaced it. My Mac is lazy. Why are you shouting? On Mac, they're still there, although deprecated for years: https://developer.apple.com/library/content/documentation/Security/Con ceptual/cryptoservices/SecureNetworkCommunicationAPIs/SecureNetworkCom municationAPIs.html#//apple_ref/doc/uid/TP40011172-CH13-SW3 fphttpclient should work fine on Mac too. ---------------------------------------------------------------------- Thaddy · 2018-05-28 15:08 I is not shouting - at least did not mean to -, but current, and it does not work anymore unless you have a 32 bit mac. ---------------------------------------------------------------------- Phil · 2018-05-28 15:11 Quote from: Thaddy on May 28, 2018, 05:08:10 pmI is not shouting - at least did not mean to -, but current, and it does not work anymore unless you have a 32 bit mac. No, works fine. They're universal libs with both 32-bit and 64-bit architectures. ---------------------------------------------------------------------- Remy Lebeau · 2018-05-30 16:56 Quote from: Phil on May 28, 2018, 03:02:25 pmOn Windows, you'll need to include ssleay32.dll and libeay32.dll from here: http://indy.fulgan.com/SSL/ Note: those DLLs are primarily meant for use with Indy, which FPHttpClient does not use.  Any OpenSSL distribution should work fine.  The only real difference between Indy's distribution and other 3rd party distributions is that the DLLs in Indy's distribution have no external dependencies, such as to Microsoft's VC++ runtime.  Other distributions may, so be mindful of that.