[FUG-BR] This application failed to start because it could not find or load the Qt platform plugin "xcb", in "".

Paulo Henrique paulo.rddck em bsd.com.br
Domingo Novembro 6 20:49:43 BRST 2016


2016-11-06 20:13 GMT-02:00 Clayton Eduardo dos Santos <claytones em bsd.com.br>
:

> Boa noite pessoal,
>
> Hoje pela manhã, atualizei alguns pacotes via portmaster e percebi que
> várias aplicações deixaram de funcionar, apresentando a seguinte
> mensagem de erro:
>
> ===================================================================
>
> This application failed to start because it could not find or load the
> Qt platform plugin "xcb"
> in "".
>
> Available platform plugins are: minimal, offscreen, xcb.
>
> Reinstalling the application may fix this problem.
> Abort (core dumped)
>
> ===================================================================
>
> Após algumas pesquisas, habilitei o debug dos plugins do QT via||
> "setenv QT_DEBUG_PLUGINS 1" e passei a obter a seguinte saída:
> ||||||
> ===================================================================
>
> QFactoryLoader::QFactoryLoader() checking directory path
> "/usr/local/lib/qt5/plugins/platforms" ...
>
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqminimal.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/platforms/libqminimal.so, metadata=
> {
>     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInt
> erface.5.3",
>     "MetaData": {
>         "Keys": [
>             "minimal"
>         ]
>     },
>     "className": "QMinimalIntegrationPlugin",
>     "debug": false,
>     "version": 329218
> }
>
>
> Got keys from plugin meta data ("minimal")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqoffscreen.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/platforms/libqoffscreen.so, metadata=
> {
>     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInt
> erface.5.3",
>     "MetaData": {
>         "Keys": [
>             "offscreen"
>         ]
>     },
>     "className": "QOffscreenIntegrationPlugin",
>     "debug": false,
>     "version": 329218
> }
>
>
> Got keys from plugin meta data ("offscreen")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqxcb.so"
> Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqxcb.so,
> metadata=
> {
>     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInt
> erface.5.3",
>     "MetaData": {
>         "Keys": [
>             "xcb"
>         ]
>     },
>     "className": "QXcbIntegrationPlugin",
>     "debug": false,
>     "version": 329218
> }
>
> Got keys from plugin meta data ("xcb")
> QFactoryLoader::QFactoryLoader() checking directory path
> "/usr/local/bin/platforms" ...
> loaded library "/usr/local/lib/qt5/plugins/platforms/libqxcb.so"
> QLibraryPrivate::loadPlugin failed on
> "/usr/local/lib/qt5/plugins/platforms/libqxcb.so" : "Cannot load library
> /usr/local/lib/qt5/plugins/platforms/libqxcb.so:
> (/usr/local/lib/libxkbcommon-x11.so.0: version V_0.5.0 required by
> /usr/local/lib/libQt5XcbQpa.so.5 not defined)"
> This application failed to start because it could not find or load the
> Qt platform plugin "xcb"
> in "".
>
> Available platform plugins are: minimal, offscreen, xcb.
>
> Reinstalling the application may fix this problem.
> Abort (core dumped)
>
> ===================================================================
>
> Tentei criar alguns links simbólicos para tentar resolver a dependência
> da libxkbcommon-x11.so.0: version V_0.5.0, mas sem sucesso.
> Alguém passou por algo semelhante e conseguiu resolver?
>
> Desde já, obrigado!
>
> Att,
>
> Clayton
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
Atualiza a base do X ante de atualizar os demais pacotes.

Mesmo problema aqui que pelo visto resolveu.

portmaster -Rf x11/xorg

Att.


-- 
:UNI><BSD:
Paulo Henrique.
Fone: (21) 37089388.


Mais detalhes sobre a lista de discussão freebsd