AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke OpenSSL library files for Android 64 bit

OpenSSL library files for Android 64 bit

Ein Thema von Alex40 · begonnen am 20. Dez 2020 · letzter Beitrag vom 20. Dez 2020
Antwort Antwort
Alex40

Registriert seit: 20. Dez 2020
Ort: Bulgaria
4 Beiträge
 
Delphi 10.4 Sydney
 
#1

OpenSSL library files for Android 64 bit

  Alt 20. Dez 2020, 12:25
Hello to everyone. Sorry if this topic is already discussed here.

I've gone through the Search but couldnt find a discussion about the latest 64 bit .so files that are used to be deployed in Embarcadero delphi project for 64 bit platform. So far I have no issue to run a 32 bit application with libssl.so and libcrypto.so delpoyed, but when I deploy the same files fo 64 bit application, the logcat tells me "Could not load SSL library".

I assume that I don't use the right .so files. I've gone through the topic about OpenSSL libraries deplyoment for both 32 and 64 bit application and I do exactly the same as you said there. Still - 32 bit application runs fine, but 64 bit application throws the error for the SSL libraries. A link for the right .so files would be very helpful. Your help would be highly appreciated ! Thank you in advance and have a good day !
Alex Sertev
  Mit Zitat antworten Zitat
philipp.hofmann

Registriert seit: 21. Mär 2012
Ort: Hannover
857 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: OpenSSL library files for Android 64 bit

  Alt 20. Dez 2020, 15:39
OpenSSL-so-Files-Directories for Android for 64-Bit-Projects if you want to create a bundle:
- 32-Bit-so-files -> library\lib\armeabi-v7a\
- 64-Bit-so-files -> llibrary\lib\arm64-v8a\

Initialization:
Delphi-Quellcode:
  var help2:String;
  help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad();
  if (length(help2) > 0) then
  begin
    IdOpenSSLSetLibPath(IncludeTrailingPathDelimiter(TPath.GetLibraryPath));
    IdSSLOpenSSLHeaders.Load();
    help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad();
    if (length(help2) > 0) then
    begin
      IdOpenSSLSetLibPath(IncludeTrailingPathDelimiter(TPath.GetDocumentsPath));
      IdSSLOpenSSLHeaders.Load();
      mlog.info('SSL-Version(3): ' + OpenSSLVersion);
      help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad();
      if (length(help2) > 0) then
      begin
        mlog.info('SSL-Errors: ' + help2);
      end;
    end else begin
      mlog.info('SSL-Version(2): ' + OpenSSLVersion);
    end;
  end else begin
    mlog.info('SSL-Version(1): ' + OpenSSLVersion);
  end;
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:09 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz