Bonjour,
j'espère avoir posté dans la bonne section du forum.
Mon problème :
sous debian stretch, à jour, j'essaie de lancer virtualbox ou vlc mais cela ne marche pas, à priori pour la même raison, le message dans le terminal étant sensiblement le même
Qt FATAL: This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
Abandon
Après recherche, j'ai les messages de debug au lancement de vlc :
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[0000558c191801a0] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 329473
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 329473
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 329473
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 329473
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 329473
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libQt5DBus.so.5"
"Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.7.1'"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libQt5XcbQpa.so.5"
"Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.7.1'"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 329473
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqeglfs.so"
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqlinuxfb.so"
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqminimal.so"
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqminimalegl.so"
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqoffscreen.so"
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libQt5DBus.so.5"
"Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.7.1'"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libQt5XcbQpa.so.5"
"Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.7.1'"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqxcb.so"
Got keys from plugin meta data ("xcb")
Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/local/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec)
QLibraryPrivate::loadPlugin failed on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/local/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec)"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
Réception de SIGHUP ou SIGTERM
Je pense que mon problème se situe dans les dernières lignes :
Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/local/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec)
QLibraryPrivate::loadPlugin failed on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/local/lib/libQt5XcbQpa.so.5: undefined symbol: _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec)"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Je décide donc de cherche si j'ai un problème de dépendance (ça avait l'air d'être une raison de problème sur d'autres forums anglais) mais je n'ai aucun resultat, donc aucun problème à niveau à priori
ldd /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so | grep "not found"
ldd /usr/local/lib/libQt5XcbQpa.so.5 | grep "not found"
Donc je me dis que j'ai un problème dans mon fichier "/usr/local/lib/libQt5XcbQpa.so.5" alors j'ai essayé de le réinstaller le paquet dont il dépend, et après avoir vu d'autres gens avoir le même problème je réinstalle en fait tout plein de paquets liés à qt5 :
apt-get install --reinstall libqt5dbus5 libqt5widgets5 libqt5network5 libqt5gui5 libqt5core5a libdouble-conversion1 libxcb-xinerama0
Mais je suis toujours bloqué avec la même erreur.
Auriez vous un bon conseil pour moi ?
Et une question subsidiaire, pourquoi j'ai le resultat suivant :
ldd /usr/local/lib/libQt5XcbQpa.so.5 | grep "not found"
bash: grep : commande introuvable
(si j'enlève le "| grep blabla" ça marche normalement) curieux non ?
Merci.
Dernière modification par lio (08-06-2019 06:06:19)