OpenSSL library problem

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
xord68
Posts: 2
Joined: Mon 24 Feb 2014 09:22

OpenSSL library problem

Post by xord68 » Mon 24 Feb 2014 09:38

Hi,

I use MyDAC(8.2.5) component in my application with the mpSSL protocol option on delphi xe5.

When i execute my application on windows, i have no problem, but when i try to deploy and execute on android platform i get this error :

Exception 'first chance' à $5E86C7F5. Classe d'exception EOSError avec un message
'OpenSSL client library couldn't be loaded. Please place libssl.dylib file to system folder (included to LD_LIBRARY_PATH) or to the folder with executable unit of main program.
Cannot load library: load_library[1094]: Library 'libssl.dylib' not found'.
Processus SSLTab.apk (8976)

I tried to add 'libssl.dylib' to the deployment manager but it doesn't work.

xord68.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: OpenSSL library problem

Post by Dimon » Thu 06 Mar 2014 13:54

Thank you for the information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

SpielhallenFrank
Posts: 2
Joined: Sat 22 Mar 2014 18:51

Re: OpenSSL library problem

Post by SpielhallenFrank » Sat 22 Mar 2014 18:53

Hello together,

i've got MyDAC 8.2.6 but i still get this error.

Or does "next build" mean 8.3.x ?

Greetings from Germany

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: OpenSSL library problem

Post by Dimon » Mon 24 Mar 2014 13:52

Yes, this fix will be included in the next (8.3.x) build.

firmatec
Posts: 2
Joined: Mon 07 Apr 2014 14:28

Re: OpenSSL library problem

Post by firmatec » Mon 07 Apr 2014 14:55

I have the same problem with UniDAC 5.2.7
How to fix it?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: OpenSSL library problem

Post by Dimon » Mon 07 Apr 2014 16:50

We have fixed this problem. This fix will be included in the next MyDAC build.

SpielhallenFrank
Posts: 2
Joined: Sat 22 Mar 2014 18:51

Re: OpenSSL library problem

Post by SpielhallenFrank » Mon 19 May 2014 12:30

After the update, i have a Blackscreen (screen is just black, no input possible) on my Android device (Samsung S2) if i use a SSL connection (after compiling and installing the application on my mobile phone).
I am Using XE6 since a few weeks.

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: OpenSSL library problem

Post by PavloP » Thu 22 May 2014 15:51

We can't reproduce the problem. The problem may be due to using DNS in the server name. Try specifying the IP address of your MySQL server in the TMyConnection.Server property.

noely
Posts: 4
Joined: Wed 28 May 2014 00:43

Re: OpenSSL library problem

Post by noely » Wed 28 May 2014 08:41

I have the same issue on iOS.. running Delphi 5.0 with MyDAC 8.3 ... "OpenSSL client library couldnt be loaded. Please place libssl.dylib file to system folder ..."

How to get this resolved?

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: OpenSSL library problem

Post by PavloP » Thu 29 May 2014 11:03

The OpenSSL library is not installed on iOS devices by default. You should install it to your device by yourself.

xord68
Posts: 2
Joined: Mon 24 Feb 2014 09:22

Re: OpenSSL library problem

Post by xord68 » Fri 04 Sep 2015 13:41

Up!

Well corrected for Android but iOS...

Same message "OpenSSL client library couldnt be loaded. Please place libssl.dylib file to system folder ...".
Why asking for dylib when dynamic libraries not supported on iOS ?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: OpenSSL library problem

Post by ViktorV » Mon 07 Sep 2015 08:37

We will consider the possibility to change this behavior of MyDAC in the next release.
You can use MyDAC with SecureBridge components for connection to MySQL server using SSL, for deployment of applications to iOS mobile devices, since they don't require third-party libraries. See more details about connection to MySQL server using SSL in our documentation: http://www.devart.com/mydac/docs/secureconnections.htm.

Post Reply