Delphi 10.4.1 Indy SSL on Ubuntu 20.04
![](https://synaptica.info/wp-content/uploads/2021/01/ssl.png)
If you deploy your FMX application on Ubuntu 20.04 and you are using indy ssl interceptor, you will get “Could not load SSL library”. On Indy Server the error is: “EIdOSSLCouldNotLoadSSLLibrary: Could not load SSL library”.
This problem is caused because Indy does not suppurt the lastest version of openSSL library.
To avoid this problem you can compile by your self the SSL libraries ver. 1.0.2u that are compatible with Indy with few commands:
1 2 3 4 5 |
wget https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz tar -xf openssl-1.0.2u.tar.gz cd openssl-1.0.2u ./config shared make |
after that you can copy the binaries (.so files) into your application folder, like this:
1 |
cp ./*.so /<your app folder> |
that’s it, all done and your Indy FMX application is ready for Ubuntu 20.04.
The same resolution is valid for Lazarus Project too…