[Android-development] openSSL loading on Android not working?

Eskil Abrahamsen Blomfeldt eskil.abrahamsen-blomfeldt at digia.com
Fri Apr 11 12:36:45 CEST 2014


On 04/10/2014 06:46 PM, Martin Koller wrote:
> Hi,
>
> I have bundled the latest openSSL libs (1.0.1g) into my apk according to
> http://qt-project.org/doc/qt-5/opensslsupport.html
>
> However my test app, which simply displays QSslSocket::sslLibraryVersionString(),
> still tells me the older version 1.0.0e
>
> I have an Android Tablet (Pengpod 700) and I found out that it has
> already libcrypto and libssl installed in /system/lib
>
> Checking Qt sources I do not find any traces of the ssl libs loading
> mechanism to first try to load the bundled libs (e.g. giving the absolute
> path to /data/data/<app>/lib/libcrypto.so)
>
> Am I missing something here or is this a bug which should be fixed in Qt ?
> (e.g. in qsslsocket_openssl_symbols.cpp loadOpenSsl())

Hi,

Thanks for the report.

This sounds very odd. I've made

     https://bugreports.qt-project.org/browse/QTBUG-38291

to track the progress of this.

-- Eskil



More information about the Android-development mailing list