Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing
Forum Updated to NodeBB v4.3 + New Features

Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 213 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    ZergedU
    wrote last edited by
    #1

    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
    
    JKSHJ 1 Reply Last reply
    0
    • Z ZergedU

      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
      
      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote last edited by
      #2

      @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

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZergedU
        wrote last edited by
        #3

        That's great! Thank you so much!

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZergedU
          wrote last edited by
          #4

          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/

          JKSHJ 1 Reply Last reply
          0
          • Z ZergedU

            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/

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote last edited by JKSH
            #5

            @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)

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved