The required XCB cursor platform library was not found!
-
Hi
I have a annoying problem when installing Qt from the Online Installer package to a laptop.
OS: Debian 12
As the headline states, it is a problem with the library XCB. The installer pops up in the initial phase with the above message.
The box provides commands to install the required librarries, which I used, but it doesn't solve the problem.
I remember I had a similar issue on my desktop but I think I resolved it by installing XCB package.
I hope someone in here can help me as I need it for studying reasons.
Martin
-
Use
lddto find out which library is missing and install it. -
Use
lddto find out which library is missing and install it.This is the output when running:
ldd ./qt-online-installer-linux-x64-4.8.1.runlinux-vdso.so.1 (0x00007fff3a4a1000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f6d143f9000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6d143da000) libbz2.so.1 => /lib/x86_64-linux-gnu/libbz2.so.1 (0x00007f6d143c7000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6d14398000) libxkbcommon-x11.so.0 => /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f6d1438d000) libxcb-icccm.so.4 => /lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007f6d14384000) libxcb-image.so.0 => /lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007f6d1437e000) libxcb-keysyms.so.1 => /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007f6d14000000) libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007f6d1436d000) libxcb-render-util.so.0 => /lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007f6d13c00000) libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f6d14368000) libxcb-sync.so.1 => /lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f6d1435e000) libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f6d14355000) libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f6d14347000) libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f6d14342000) libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f6d14325000) libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6d142fb000) libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f6d142f4000) libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6d13ebe000) libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6d1422a000) libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f6d13e73000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f6d13e1d000) libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f6d13bba000) libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6d13afe000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6d14223000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f6d14212000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6d1420d000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6d14208000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6d13800000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6d13a1f000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6d137e0000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6d135ff000) /lib64/ld-linux-x86-64.so.2 (0x00007f6d14412000) libxcb-util.so.1 => /lib/x86_64-linux-gnu/libxcb-util.so.1 (0x00007f6d13e15000) libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6d13e10000) libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6d13200000) libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f6d135c9000) libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f6d135bc000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6d13591000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6d134c1000) libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6d134ab000) libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f6d13488000) libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f6d1347c000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6d130b9000) liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6d13456000) libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f6d13449000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6d13421000)I don't know what exactly to look for, but based on similar topics it is the library libxcb-util.so.1 that is the issue.
-
I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it?
@Malachi said in The required XCB cursor platform library was not found!:
I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it?
Do you mean the warning about XCB cursor being not found?
The solution is to install the missing library. On Ubuntu 22.04, you want
sudo apt install libxcb-cursor0