Article 6J469 missing libxkbcommon-x11.so.0 => not found why??

missing libxkbcommon-x11.so.0 => not found why??

by
centguy
from LinuxQuestions.org on (#6J469)
I was investigating the cause of a matplotlib crashing on a remote system.

After much digging, the cause of the problem is that the PyQt5 ibqxcb.so needs a lot of stuff:

Quote:
$ ldd libqxcb.so
linux-vdso.so.1 (0x00007fff7b32c000)
libQt5XcbQpa.so.5 => /home/ckgan/env-chollet/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/./../../lib/libQt5XcbQpa.so.5 (0x00007f18a8600000)
libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f18a8c1b000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f18a8538000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f18a89e4000)
libQt5Gui.so.5 => /home/ckgan/env-chollet/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/./../../lib/libQt5Gui.so.5 (0x00007f18a7c00000)
libQt5DBus.so.5 => /home/ckgan/env-chollet/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/./../../lib/libQt5DBus.so.5 (0x00007f18a7800000)
libQt5Core.so.5 => /home/ckgan/env-chollet/lib/python3.10/site-packages/PyQt5/Qt5/plugins/platforms/./../../lib/libQt5Core.so.5 (0x00007f18a7000000)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f18a895d000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f18a8c14000)
libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f18a8c0f000)
libxcb-icccm.so.4 => /lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007f18a8c08000)
libxcb-image.so.0 => /lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007f18a8532000)
libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f18a7bfb000)
libxcb-util.so.1 => /lib/x86_64-linux-gnu/libxcb-util.so.1 (0x00007f18a7bf2000)
libxcb-keysyms.so.1 => /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007f18a7bed000)
libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007f18a7bda000)
libxcb-render-util.so.0 => /lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007f18a7bd3000)
libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f18a7bc4000)
libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f18a7bbf000)
libxcb-sync.so.1 => /lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f18a7bb5000)
libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f18a7bab000)
libxcb-xinerama.so.0 => /lib/x86_64-linux-gnu/libxcb-xinerama.so.0 (0x00007f18a7ba6000)
libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f18a7b88000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f18a7b5e000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f18a7b49000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f18a6ec0000)
libxkbcommon-x11.so.0 => not found
libxkbcommon.so.0 => not found
This system is built from an image in the virtual machine environement so it is strange that there are missing shared libraries that causes matplotlib to crash.

So question: i have built ubuntu 22 from liveCD and do not have this problem yet i use a image create by someone that make the system has lot of missing files. So how would one is capable to build an image with so many missing shared objects?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments