[fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?

Michael Van Canneyt michael at freepascal.org
Wed May 5 16:37:57 CEST 2021



On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote:

> I have an application which is ported from Delphi to FreePascal and will be used
> on Raspberry Pi (Debian based Linux).
> It uses Indy10 components. Indy is installed using OnLinePackageManager in
> Lazarus.
>
> The problem I have is that when I run the application it gets an exception when
> trying to send an email via an SSL encrypted SMTP mail server.
>
> The exception log I have shows this:
> ERROR: Exception during email send: Could not load SSL library.
>
> When searching for this problem I found a Lazarus forum thread dealing in the
> same, where a openssl version clash is the reason:
> https://forum.lazarus.freepascal.org/index.php/topic,48974.msg354212.html#msg354212
>
> This post states that the problem is solved in FPC 3.2.0

If you are using Indy, it is not.

>
> The core of the problem seems to be the openssl version clash...
>
> Any ideas on how to solve this on Pi-OS Linux?

You can't. Indy does not work with openssl 1.1. 
You must install an older openssl library if you wish to work with Indy.

Michael.


More information about the fpc-pascal mailing list