Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing
-
Hey all,
I'm attempting install Qt on a Red Hat UBI 9 docker container without user interaction. Running the Qt online installer gives an error about missing the shared library "libxkbcommon-x11.so.0".
Error:
./qt-online-installer-linux-x64-4.10.0.run: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory
I haven't been able to find this library anywhere on Red Hat 9 unfortunately. I'm able to install "libxkbcommon" using dnf, but that doesn't fix it sadly. Does anyone know how I can get "libxkbcommon-x11.so.0"? The package "libxkbcommon-x11" is not found by dnf.
I've tried installing the following using dnf, but no luck yet. Dockerfile is below
FROM redhat/ubi9 USER root # Install development tools RUN dnf update && dnf install -y libxkbcommon libxcb gcc gdb cmake # Download Qt online installer RUN curl -O https://qt.mirror.constant.com/archive/online_installers/4.10/qt-online-installer-linux-x64-4.10.0.run RUN chmod +x qt-online-installer-linux-x64-4.10.0.run # Run Qt installer RUN ./qt-online-installer-linux-x64-4.10.0.run
-
Hey all,
I'm attempting install Qt on a Red Hat UBI 9 docker container without user interaction. Running the Qt online installer gives an error about missing the shared library "libxkbcommon-x11.so.0".
Error:
./qt-online-installer-linux-x64-4.10.0.run: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory
I haven't been able to find this library anywhere on Red Hat 9 unfortunately. I'm able to install "libxkbcommon" using dnf, but that doesn't fix it sadly. Does anyone know how I can get "libxkbcommon-x11.so.0"? The package "libxkbcommon-x11" is not found by dnf.
I've tried installing the following using dnf, but no luck yet. Dockerfile is below
FROM redhat/ubi9 USER root # Install development tools RUN dnf update && dnf install -y libxkbcommon libxcb gcc gdb cmake # Download Qt online installer RUN curl -O https://qt.mirror.constant.com/archive/online_installers/4.10/qt-online-installer-linux-x64-4.10.0.run RUN chmod +x qt-online-installer-linux-x64-4.10.0.run # Run Qt installer RUN ./qt-online-installer-linux-x64-4.10.0.run
@ZergedU said in Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing:
Does anyone know how I can get "libxkbcommon-x11.so.0"? The package "libxkbcommon-x11" is not found by dnf.
It's in the AppStream repository: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/package_manifest/index#AppStream-repository
-
It looks like Red Hat UBI 9 strips down the AppStream repo from the RHEL version. Notably, the package "libxkbcommon-x11" is missing. This is why I was unable find install/find it using yum or dnf, even though AppStream is listed under the included repos. Ah well.... what a pain.
Here's the list of Red Hat UBI 9 AppStream packages
https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/ -
It looks like Red Hat UBI 9 strips down the AppStream repo from the RHEL version. Notably, the package "libxkbcommon-x11" is missing. This is why I was unable find install/find it using yum or dnf, even though AppStream is listed under the included repos. Ah well.... what a pain.
Here's the list of Red Hat UBI 9 AppStream packages
https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/@ZergedU said in Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing:
It looks like Red Hat UBI 9 strips down the AppStream repo from the RHEL version. Notably, the package "libxkbcommon-x11" is missing.
Ah... that's a shame. I guess you'll need to resort to a 3rd-party repo then? (Or build it from source)