Page 1 of 1

OpenSSL library problem

Posted: Mon 24 Feb 2014 09:38
by xord68
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.

Re: OpenSSL library problem

Posted: Thu 06 Mar 2014 13:54
by Dimon
Thank you for the information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

Re: OpenSSL library problem

Posted: Sat 22 Mar 2014 18:53
by SpielhallenFrank
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

Re: OpenSSL library problem

Posted: Mon 24 Mar 2014 13:52
by Dimon
Yes, this fix will be included in the next (8.3.x) build.

Re: OpenSSL library problem

Posted: Mon 07 Apr 2014 14:55
by firmatec
I have the same problem with UniDAC 5.2.7
How to fix it?

Re: OpenSSL library problem

Posted: Mon 07 Apr 2014 16:50
by Dimon
We have fixed this problem. This fix will be included in the next MyDAC build.

Re: OpenSSL library problem

Posted: Mon 19 May 2014 12:30
by SpielhallenFrank
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.

Re: OpenSSL library problem

Posted: Thu 22 May 2014 15:51
by PavloP
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.

Re: OpenSSL library problem

Posted: Wed 28 May 2014 08:41
by noely
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?

Re: OpenSSL library problem

Posted: Thu 29 May 2014 11:03
by PavloP
The OpenSSL library is not installed on iOS devices by default. You should install it to your device by yourself.

Re: OpenSSL library problem

Posted: Fri 04 Sep 2015 13:41
by xord68
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 ?

Re: OpenSSL library problem

Posted: Mon 07 Sep 2015 08:37
by ViktorV
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.