Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Custom QGroundControl : Fatal error java.lang.UnsatisfiedLinkError: dlopen failed



  • I am getting error QGroundControl Keep stopping.

    Logs:

    07-03 11:23:44.243 1579 1579 I qtMainLoopThrea: type=1400 audit(0.0:86): avc: denied { execute } for path="/oem/app/QGroundControl/lib/arm/libgnustl_shared.so" dev=“mmcblk1p11” ino=6499 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=1
    07-03 11:23:44.266 1579 1597 I QtCore : Start
    07-03 11:23:44.273 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Positioning.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.277 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Concurrent.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.282 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Network.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.294 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Qml.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.309 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Gui.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.328 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Quick.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.359 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5QuickParticles.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.368 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Location.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.388 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Widgets.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.415 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5QuickWidgets.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.421 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5OpenGL.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.429 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Svg.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.436 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Multimedia.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.448 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Sql.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.453 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Xml.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.457 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5TextToSpeech.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.460 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5AndroidExtras.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.465 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Bluetooth.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.472 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Test.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.476 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5MultimediaQuick.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.481 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5PositioningQuick.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.486 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5RemoteObjects.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.493 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5QuickTemplates2.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.506 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5QuickControls2.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.514 1579 1597 W linker : /oem/app/QGroundControl/lib/arm/libQt5Charts.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.530 1579 1597 W linker : /data/data/org.mavlink.qgroundcontrol/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.538 1579 1597 I Qt : qt started
    07-03 11:23:44.539 1579 1597 W linker : /data/data/org.mavlink.qgroundcontrol/qt-reserved-files/plugins/bearer/libqandroidbearer.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.541 1579 1597 W linker : /data/data/org.mavlink.qgroundcontrol/qt-reserved-files/plugins/position/libqtposition_android.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.542 1579 1597 I QtPositioning: Positioning start
    07-03 11:23:44.543 1579 1597 W linker : /data/data/org.mavlink.qgroundcontrol/qt-reserved-files/plugins/mediaservice/libqtmedia_android.so: unsupported flags DT_FLAGS_1=0x81
    07-03 11:23:44.548 1579 1597 W linker : /data/data/org.mavlink.qgroundcontrol/qt-reserved-files/plugins/texttospeech/libqttexttospeech_android.so: unsupported flags DT_FLAGS_1=0x81
    --------- beginning of crash
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: Process: org.mavlink.qgroundcontrol, PID: 1579
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “OCSP_RESPID_free” referenced by “/oem/app/QGroundControl/lib/arm/libssl.so”…
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:908)
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: at java.lang.System.load(System.java:1537)
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: at org.qtproject.qt5.android.QtNative$3.run(QtNative.java:217)
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
    07-03 11:23:44.567 1579 1597 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
    07-03 11:23:44.569 727 737 W ActivityManager: Force finishing activity org.mavlink.qgroundcontrol/.QGCActivity

    Please let me know If I am doing anything wrong.


  • Qt Champions 2019

    @avi_4 What Qt version?
    What Android version?
    How did you built libssl.so?


Log in to reply