[mythtv-commits] Ticket #13648: Android 5 fails to load qt libs

MythTV noreply at mythtv.org
Mon Jul 13 19:51:56 UTC 2020


#13648: Android 5 fails to load qt libs
--------------------------------+------------------------------
 Reporter:  mspieth             |          Owner:  mspieth
     Type:  Bug Report - Crash  |         Status:  assigned
 Priority:  minor               |      Milestone:  needs_triage
Component:  Ports - Android     |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:                      |  Ticket locked:  0
--------------------------------+------------------------------

Comment (by Peter Bennett):

 After 61dd131 2020/07/11 Mark Spieth   : Android: Set both hash styles for
 qt build

 1. Setting api to 24 causes this error
    dlopen failed: cannot locate symbol "__register_atfork"
 2. Setting api to 21 causes this compile error in two files
    fstream:950:9: error: use of undeclared identifier 'fseeko'
 3. Since fseeko and ftello only exist from api 24, I changed those two
 files to use ftell and fseek instead when compiling for api < 24. Then I
 got this error:
    failed: dlopen failed: library "libexiv2.so" not found
 4. Looking at the apk, it contains libexiv2.14.so but not libexiv2.so. I
 changed mythbuild.sh to include libexiv2.so. Now it contains both. This is
 not optimal. But it works.

 Attached are patch files for the changes. I do not understand why
 libexiv2.14.so is copied, and why this is ok when running on firestick 4k
 but not on firestick non-4k.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13648#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list