[Release][ArchLinux] ParaView fail to launch
On (a 2018-11-14 up-to-date) ArchLinux, ParaView Release 5.6 fails to launch completely with the following:
[glow@snowman ~/work/paraview/other/ParaView-5.6.0-Linux-64bit]$ ./bin/paraview
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
It looks like there is actually some issues with freetype and fontconfig :
[glow@snowman ~/work/paraview/other/ParaView-5.6.0-Linux-64bit]$ QT_DEBUG_PLUGINS=1 ./bin/paraview
QFactoryLoader::QFactoryLoader() checking directory path "/home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/plugins/platforms/libqxcb.so"
Found metadata in lib /home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 329985
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/platforms" ...
Cannot load library /home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/plugins/platforms/libqxcb.so: (/usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var)
QLibraryPrivate::loadPlugin failed on "/home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/plugins/platforms/libqxcb.so" : "Cannot load library /home/glow/work/paraview/other/ParaView-5.6.0-Linux-64bit/lib/plugins/platforms/libqxcb.so: (/usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var)"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
A simple work around is to remove the packaged libfreetype.so and use the one from the system.
It may be related to paraview-superbuild#92
Edited by Mathieu Westphal (Kitware)