[Pkg-kde-extras] Bug#902118: quassel-core: quasselcore unable to load installed libQt5Core.so.5

Jan Christoph Terasa christoph at kohlio.de
Fri Jun 22 15:01:05 BST 2018


Package: quassel-core
Version: 1:0.12.5-2
Severity: important

Dear Maintainer,

I am unable to start the quasselcore systemd service unit. Manually starting
quasselcore results in:

$ sudo -u quasselcore quasselcore
quasselcore: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory


If I comment the systemd-option Restart=on-failure in the provided quasselcore.service
file, I can see the same issue via systemd (otherwise systemd will complain
about too many restart tries):

$ sudo systemctl status quasselcore
● quasselcore.service - distributed IRC client using a central core component
   Loaded: loaded (/lib/systemd/system/quasselcore.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-06-22 15:44:18 CEST; 1min 23s ago
     Docs: man:quasselcore(1)
  Process: 12060 ExecStart=/usr/bin/quasselcore --configdir=${DATADIR} --logfile=${LOGFILE} --loglevel=${LOGLEVEL} --port=${PORT} --listen=${LISTEN} (code=exited, status=127)
 Main PID: 12060 (code=exited, status=127)

Jun 22 15:44:18 systemd[1]: Started distributed IRC client using a central core component.
Jun 22 15:44:18 quasselcore[12060]: /usr/bin/quasselcore: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
Jun 22 15:44:18 systemd[1]: quasselcore.service: Main process exited, code=exited, status=127/n/a
Jun 22 15:44:18 systemd[1]: quasselcore.service: Failed with result 'exit-code'


LibQt5Core.so.5 is installed, though:

$ sudo updatedb && locate libQt5Core.so.5 | xargs ls -l
lrwxrwxrwx 1 root root      20 May 20 23:57 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.10.1
lrwxrwxrwx 1 root root      20 May 20 23:57 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10 -> libQt5Core.so.5.10.1
-rw-r--r-- 1 root root 5224752 May 20 23:57 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1


ldd reports the binary cannot find libQt5Core.so.5, but other Qt5 libraries are
found:

$ ldd `which quasselcore`
	linux-vdso.so.1 (0x000074250a074000)
	libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x0000742509908000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x0000742509704000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007425094e6000)
	libQt5Script.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 (0x0000742509050000)
	libQt5Sql.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 (0x0000742508e06000)
	libqca-qt5.so.2 => /usr/lib/x86_64-linux-gnu/libqca-qt5.so.2 (0x0000742508b13000)
	libQt5Core.so.5 => not found
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x0000742508790000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007425083d6000)
	libQt5Core.so.5 => not found
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007425081b8000)
	/lib64/ld-linux-x86-64.so.2 (0x000074250a075000)
	libQt5Core.so.5 => not found
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000742507e23000)
	libQt5Core.so.5 => not found
	libQt5Core.so.5 => not found
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000742507c0b000)



Running ldconfig, or setting LD_LIBRARY_PATH does not help, either:

$ sudo -u quasselcore LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu quasselcore
quasselcore: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory


Upstream offers a version of the quassel-core, which is statically linked
against Qt, so testing that does not make much sense. I have not tried to build
quassel-core from source myself.



kind regards,
Christoph Terasa



-- System Information:
Debian Release: buster/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14.32-xxxx-grs-ipv6-64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages quassel-core depends on:
ii  adduser            3.117
ii  libc6              2.27-3
ii  libqca-qt5-2       2.1.3-2
ii  libqt5core5a       5.10.1+dfsg-7
ii  libqt5network5     5.10.1+dfsg-7
ii  libqt5script5      5.10.1+dfsg-2
ii  libqt5sql5         5.10.1+dfsg-7
ii  libqt5sql5-sqlite  5.10.1+dfsg-7
ii  libstdc++6         8.1.0-8
ii  lsb-base           9.20170808
ii  openssl            1.1.0h-4
ii  zlib1g             1:1.2.11.dfsg-1

quassel-core recommends no packages.

Versions of packages quassel-core suggests:
ii  libqt5sql5-psql  5.10.1+dfsg-7

-- no debconf information


More information about the pkg-kde-extras mailing list