apt-get install apt-file
apt-file update
apt-file search XXXXXXX.1
搜索 so 文件 在什么包中
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt# ./LinuxArmQtGuiApp
QML debugging is enabled. Only use this in a safe environment.
XXXXXXXXXugin: Could not load the Qt platform plugin "xcb" in "/opt/Qt5.12.4_ARM_Linux/plugins" This application failed to start because no Qt platform plugin could be initialized. Reinstalli
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb
Aborted (core dumped)
root@Ubuntu-mate:/opt# ^C
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt# export QT_DEBUG_PLUGINS=1
root@Ubuntu-mate:/opt# ./LinuxArmQtGuiApp
QML debugging is enabled. Only use this in a safe environment.
QFactoryLoader::QFactoryLoader() checking directory path "/opt/Qt5.12.4_ARM_Linux/plugins" ...
QFactoryLoader::QFactoryLoader() checking directory path "/opt" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/LinuxArmQtGuiApp"
"Failed to extract plugin meta data from '/opt/LinuxArmQtGuiApp'"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/opt/qt-everywhere-src-5.12.4-compile-completed.tar"
QElfParser: '/opt/qt-everywhere-src-5.12.4-compile-completed.tar' is not an ELF object
"'/opt/qt-everywhere-src-5.12.4-compile-completed.tar' is not an ELF object"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/opt/QT_5.12.4_ARM_Linux_in_opt.tar"
QElfParser: '/opt/QT_5.12.4_ARM_Linux_in_opt.tar' is not an ELF object
"'/opt/QT_5.12.4_ARM_Linux_in_opt.tar' is not an ELF object"
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "/opt/Qt5.12.4_ARM_Linux/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"webgl"
]
},
"archreq": 0,
"className": "QWebGLIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX"
Found metadata in lib /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/platforms" ...
Cannot load library /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX: (XXXXXXXXXXXXXXXXXXX.0: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX" : "Cannot load library /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX: (XXXXXXXXXXXXXXXXXXX.0: cannot open shared object file: No such file or directory)"
XXXXXXXXXugin: Could not load the Qt platform plugin "xcb" in "/opt/Qt5.12.4_ARM_Linux/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted (core dumped)
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt# ldd /opt/Qt5.12.4_ARM_Linux/plugins/platforms/XXXXXXXXXX
XXXXXXXXXXXXXXX.5 => /opt/Qt5.12.4_ARM_Linux/lib/XXXXXXXXXXXXXXX.5 (0x76e67000)
XXXXXXXXXXXX.5 => /opt/Qt5.12.4_ARM_Linux/lib/XXXXXXXXXXXX.5 (0x76a7e000)
XXXXXXXXXXXXX.5 => /opt/Qt5.12.4_ARM_Linux/lib/XXXXXXXXXXXXX.5 (0x7664f000)
XXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXX.1 (0x76620000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76512000)
XXXXXXX.6 => /lib/arm-linux-gnueabihf/XXXXXXX.6 (0x76425000)
/lib/XXXXXXXXXXXXXXXXX.3 (0x76f8b000)
XXXXXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXXXX.1 (0x763e8000)
XXXXXXXXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXX.6 (0x76384000)
XXXXXXXXXXXXX.5 => /opt/Qt5.12.4_ARM_Linux/lib/XXXXXXXXXXXXX.5 (0x76325000)
XXXXXXXXXXXXX.0 => /lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.0 (0x76301000)
XXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.1 (0x762ee000)
XXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.1 (0x762d7000)
XXXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXX.6 (0x761e9000)
XXXXXXX.6 => /lib/arm-linux-gnueabihf/XXXXXXX.6 (0x76171000)
XXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXX.6 (0x7615b000)
XXXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXX.6 (0x76139000)
XXXXXXXXXXXXXXXXXXX.0 => not found
XXXXXXXXXXXXXXX.0 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXXX.0 (0x760fa000)
XXXXXXXXXXXXXX.0 => /lib/arm-linux-gnueabihf/XXXXXXXXXXXXXX.0 (0x76024000)
libgcc_XXXX.1 => /lib/arm-linux-gnueabihf/libgcc_XXXX.1 (0x75ffc000)
XXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/mesa/XXXXXXXX.1 (0x75f7a000)
XXXXXXXXXXXXX.55 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.55 (0x75de1000)
XXXXXXXXXXX.55 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXX.55 (0x75cc4000)
XXXXXXXX.2 => /lib/arm-linux-gnueabihf/XXXXXXXX.2 (0x75cb1000)
XXXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXX.6 (0x75ca6000)
XXXXXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXX.6 (0x75c99000)
XXXXXXXXXXX.1 => /lib/arm-linux-gnueabihf/XXXXXXXXXXX.1 (0x75c71000)
XXXXXXX.1 => /lib/arm-linux-gnueabihf/XXXXXXX.1 (0x75c4f000)
XXXXXXXXXXX.0 => /lib/arm-linux-gnueabihf/XXXXXXXXXXX.0 (0x75c27000)
XXXXXXXXXXXX.3 => /lib/arm-linux-gnueabihf/XXXXXXXXXXXX.3 (0x75be8000)
XXXXXXXXXX.1 => /lib/arm-linux-gnueabihf/XXXXXXXXXX.1 (0x75bd3000)
XXXXXXXXXX.3 => /lib/arm-linux-gnueabihf/XXXXXXXXXX.3 (0x75b77000)
XXXXXXXXXXX.0 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXX.0 (0x75b39000)
XXXXXXXXXX.6 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXX.6 (0x75b1e000)
XXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.1 (0x75b0c000)
XXXXXXXXXXXX.3 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXX.3 (0x75af7000)
XXXXXXXXXXXXX.0 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.0 (0x75ae1000)
XXXXXXXXXXXXXX.0 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXX.0 (0x75ad6000)
XXXXXXXXXXXXXX.0 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXX.0 (0x75acc000)
XXXXXXXXXXXXXXXXX.0 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXXXXX.0 (0x75ac2000)
XXXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXX.1 (0x75ab5000)
XXXXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXXXX.1 (0x75aa3000)
XXXXXXXXXXXXX.1 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.1 (0x75a97000)
XXXXXXXXX.2 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXX.2 (0x75a7e000)
XXXXXXXXXXXXX.55 => /usr/lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.55 (0x741b7000)
XXXXXXXXXXXXX.0 => /lib/arm-linux-gnueabihf/XXXXXXXXXXXXX.0 (0x7418c000)
XXXXXXXX.1 => /lib/arm-linux-gnueabihf/XXXXXXXX.1 (0x74176000)
XXXXXXXXXX.5 => /lib/arm-linux-gnueabihf/XXXXXXXXXX.5 (0x74156000)
XXXXXXXXXXXX.20 => /lib/arm-linux-gnueabihf/XXXXXXXXXXXX.20 (0x740c7000)
XXXXXXXXXXXXXXX.0 => /lib/arm-linux-gnueabihf/XXXXXXXXXXXXXXX.0 (0x740ab000)
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
root@Ubuntu-mate:/opt#
apt-get install libxkbcommon-dev libxkbcommon-x11-dev
Got keys from plugin meta data ("xcb_glx")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/xcbglintegrations" ...
loaded library "/opt/Qt5.12.4_ARM_Linux/plugins/xcbglintegrations/XXXXXXXXXXXXXXXXXXXXXXXXXX"
./LinuxArmQtGuiApp: symbol lookup error: /opt/Qt5.12.4_ARM_Linux/lib/XXXXXXXXXXXXXXX.5: undefined symbol: FT_Get_Font_Format
root@Ubuntu-mate:/opt#
apt-get install libfreetype6
200字以内,仅用于支线交流,主线讨论请采用回复功能。