Unable to start desktop client (symbol lookup error: libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format)


#1

Expected behaviour

Owncloud client should start normally

Actual behaviour

Client fails to start:

[user@deepthought ~]$ owncloud
owncloud: symbol lookup error: /opt/ownCloud/qt-5.12.1/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format

Steps to reproduce

  1. Try to start the client

Client configuration

Client version:

owncloud-client-2.5.4.11654-518.2.x86_64

Operating system:

Linux deepthought.localdomain 3.10.0-862.20.2.el7.x86_64 #1 SMP Wed Nov 7 00:20:26 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[user@deepthought ~]$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core) 

OS language: en_US

Qt version used by client package (Linux only, see also Settings dialog):

adwaita-qt5-1.0-1.el7.x86_64
compat-poppler022-qt-0.22.5-4.el7.x86_64
dbusmenu-qt-0.9.2-7.el7.x86_64
highcontrast-qt5-0.1-2.el7.x86_64
ibus-qt-1.3.2-4.el7.x86_64
imsettings-qt-1.6.3-9.el7.x86_64
libprojectM-qt-2.1.0-2.el7.x86_64
libprojectM-qt-devel-2.1.0-2.el7.x86_64
ocqt5101-libQt5Concurrent5-5.10.1-5.2.x86_64
ocqt5101-libQt5Core5-5.10.1-5.2.x86_64
ocqt5101-libQt5DBus5-5.10.1-5.2.x86_64
ocqt5101-libQt5Gui5-5.10.1-5.2.x86_64
ocqt5101-libQt5Network5-5.10.1-5.2.x86_64
ocqt5101-libQt5PrintSupport5-5.10.1-5.2.x86_64
ocqt5101-libqt5-qtsvg-5.10.1-5.1.x86_64
ocqt5101-libqt5-qtwebkit-5.10.1-3.2.x86_64
ocqt5101-libQt5Sql5-5.10.1-5.2.x86_64
ocqt5101-libQt5Widgets5-5.10.1-5.2.x86_64
ocqt5101-libQt5Xml5-5.10.1-5.2.x86_64
ocqt5101-qt5keychain1-0.9.1-2.2.x86_64
ocqt5121-libQt5Concurrent5-5.12.1-1.4.x86_64
ocqt5121-libQt5Core5-5.12.1-1.4.x86_64
ocqt5121-libQt5DBus5-5.12.1-1.4.x86_64
ocqt5121-libQt5Gui5-5.12.1-1.4.x86_64
ocqt5121-libQt5Network5-5.12.1-1.4.x86_64
ocqt5121-libQt5PrintSupport5-5.12.1-1.4.x86_64
ocqt5121-libqt5-qtsvg-5.12.1-2.4.x86_64
ocqt5121-libqt5-qtwebkit-5.12.1-3.1.x86_64
ocqt5121-libQt5Sql5-5.12.1-1.4.x86_64
ocqt5121-libQt5Widgets5-5.12.1-1.4.x86_64
ocqt5121-libQt5Xml5-5.12.1-1.4.x86_64
ocqt5121-libsqlite3-0-3.26.0-3.1.x86_64
ocqt5121-qt5keychain1-0.9.1-1.3.x86_64
ocqt5121-sqlite3-3.26.0-3.1.x86_64
ocqt562+240-libQt5Concurrent5-5.6.2-5.1.x86_64
ocqt562+240-libQt5Core5-5.6.2-5.1.x86_64
ocqt562+240-libQt5DBus5-5.6.2-5.1.x86_64
ocqt562+240-libQt5Gui5-5.6.2-5.1.x86_64
ocqt562+240-libQt5Network5-5.6.2-5.1.x86_64
ocqt562+240-libQt5PrintSupport5-5.6.2-5.1.x86_64
ocqt562+240-libqt5-qtwebkit-5.6.2-5.1.x86_64
ocqt562+240-libQt5Sql5-5.6.2-5.1.x86_64
ocqt562+240-libQt5Widgets5-5.6.2-5.1.x86_64
ocqt562+240-libQt5Xml5-5.6.2-5.1.x86_64
ocqt562+240-qt5keychain1-0.8.90-1.1.x86_64
ocqt562-libQt5Concurrent5-5.6.2-23.2.x86_64
ocqt562-libQt5Core5-5.6.2-23.2.x86_64
ocqt562-libQt5DBus5-5.6.2-23.2.x86_64
ocqt562-libQt5Gui5-5.6.2-23.2.x86_64
ocqt562-libQt5Network5-5.6.2-23.2.x86_64
ocqt562-libQt5PrintSupport5-5.6.2-23.2.x86_64
ocqt562-libqt5-qtwebkit-5.6.2-17.4.x86_64
ocqt562-libQt5Sql5-5.6.2-23.2.x86_64
ocqt562-libQt5Widgets5-5.6.2-23.2.x86_64
ocqt562-libQt5Xml5-5.6.2-23.2.x86_64
ocqt562-qt5keychain1-0.7.0-4.15.x86_64
opt-libqt5keychain1-0.7.0-9.4.x86_64
opt-libqt5keychain-devel-0.7.0-9.4.x86_64
opt-qt5-qtbase-5.4.2-4.5.x86_64
opt-qt5-qtbase-devel-5.4.2-4.5.x86_64
opt-qt5-qtbase-gui-5.4.2-4.5.x86_64
opt-qt5-qtbase-static-5.4.2-4.5.x86_64
opt-qt5-qtwebkit-5.4.2-2.6.x86_64
opt-qt5-qtwebkit-devel-5.4.2-2.6.x86_64
pinentry-qt-0.8.1-17.el7.x86_64
polkit-qt-0.103.0-10.el7_0.x86_64
poppler-qt-0.26.5-17.el7_4.x86_64
PyQt4-4.10.1-13.el7.x86_64
PyQt4-devel-4.10.1-13.el7.x86_64
qt3-3.3.8b-51.el7.x86_64
qt3-devel-3.3.8b-51.el7.x86_64
qt3-MySQL-3.3.8b-51.el7.x86_64
qt3-ODBC-3.3.8b-51.el7.x86_64
qt-4.8.7-2.el7.i686
qt-4.8.7-2.el7.x86_64
qt5-qtbase-5.9.2-3.el7.x86_64
qt5-qtbase-common-5.9.2-3.el7.noarch
qt5-qtbase-gui-5.9.2-3.el7.x86_64
qt5-qtx11extras-5.9.2-1.el7.x86_64
qt-devel-4.8.7-2.el7.x86_64
qt-mysql-4.8.7-2.el7.x86_64
qt-odbc-4.8.7-2.el7.x86_64
qt-settings-19-23.7.el7.centos.noarch
qtwebkit-2.3.4-6.el7.i686
qt-x11-4.8.7-2.el7.i686
qt-x11-4.8.7-2.el7.x86_64

Client package (From ownCloud or distro) (Linux only): owncloud-client-2.5.4.11654-518.2.x86_64

Installation path of client: /usr/bin/owncloud

Logs

  1. Client logfile:
[user@deepthought ~]$ owncloud --logfile /tmp/help.txt --logdebug
...
03-28 07:44:40:347 [ info gui.application ]:  "################## ownCloud locale:[en_US] ui_lang:[] version:[2.5.4 (build 515)] os:[CentOS Linux 7 (Core)]"
03-28 07:44:40:347 [ info gui.application ]:  Using "en_US" translation
03-28 07:44:40:348 [ info gui.socketapi ]:  server started, listening at  "/run/user/1000/ownCloud/socket"
03-28 07:44:40:349 [ info gui.folder.manager ]: setting remote poll timer interval to 30000 msec

#2

I am afraid we are building and testing on CentOS 7.6
That makes a difference. Any chance you can update from 7.5 to 7.6 ?

I can reproduce the issue on CentOS 7.5 – maybe updating libfreetype to the version seen in centos 7.6 is already sufficient?


#3

I had a similar issue with another application some months ago. In my case the reason was a custom libfreetype, which I had to remove.

Maybe this search is useful for you https://www.google.com/search?q=libQt5XcbQpa.so.5+undefined+symbol%3A+“FT_Get_Font_Format”

They basically recommend to lookup the library, with
ldd -r /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 | grep freetype
to find out, if it is an outdated/local version or not.

HTH


#4

Upgrading to 7.6 fixed the issue. Thanks!