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. Error: libxkbcommon-x11.so.0: cannot open shared object file
Forum Updated to NodeBB v4.3 + New Features

Error: libxkbcommon-x11.so.0: cannot open shared object file

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 2 Posters 19.2k 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.
  • Q Offline
    Q Offline
    QTBY
    wrote on 19 Jan 2021, 16:43 last edited by
    #1

    Hi,
    i try to install QT 5.9.9 under CentOS 6.10 and i try to install the "qt-unified-linux-x64-4.0.1-online.run" and got no reaction. So i try it with the Terminal "sudo ./qt-unified-linux-x64-4.0.1-online.run" and got this error:

    ./qt-unified-linux-x64-4.0.1-online.run: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory

    i did "yum update" too. I dont know what i can do now.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Jan 2021, 16:56 last edited by
      #2

      Hi and welcome to devnet,

      Do you have that library installed on your system ? You might be missing a package.

      By the way, no need for sudo, it won't help in that case.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        QTBY
        wrote on 19 Jan 2021, 17:04 last edited by
        #3

        Hi, well im new here and i dont know how i can find this package. I tried with "yum install libxkbcommon" or ""yum install libxkbcommon-x11".

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Jan 2021, 17:55 last edited by
          #4

          Do you have any files matching xkbcommon on your system ?
          Which related package do you have currently installed ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Q 1 Reply Last reply 19 Jan 2021, 18:32
          0
          • S SGaist
            19 Jan 2021, 17:55

            Do you have any files matching xkbcommon on your system ?
            Which related package do you have currently installed ?

            Q Offline
            Q Offline
            QTBY
            wrote on 19 Jan 2021, 18:32 last edited by
            #5

            @SGaist Im not sure where i can find this, but if i try

            yum provides '*/libxkb*'
            

            then i got this:

            Loaded plugins: fastestmirror, refresh-packagekit, security
            Loading mirror speeds from cached hostfile
            libxkbfile-devel-1.0.6-1.1.el6.i686 : X.Org X11 libxkbfile development package
            Repo : base
            Matched from:
            Filename : /usr/lib/libxkbfile.so

            libxkbfile-1.0.6-1.1.el6.i686 : X.Org X11 libxkbfile runtime library
            Repo : base
            Matched from:
            Filename : /usr/lib/libxkbfile.so.1.0.2
            Filename : /usr/share/doc/libxkbfile-1.0.6/COPYING
            Filename : /usr/share/doc/libxkbfile-1.0.6/ChangeLog
            Filename : /usr/share/doc/libxkbfile-1.0.6
            Filename : /usr/lib/libxkbfile.so.1

            libxkbfile-devel-1.0.6-1.1.el6.x86_64 : X.Org X11 libxkbfile development package
            Repo : base
            Matched from:
            Filename : /usr/lib64/libxkbfile.so

            libxkbfile-1.0.6-1.1.el6.x86_64 : X.Org X11 libxkbfile runtime library
            Repo : base
            Matched from:
            Filename : /usr/lib64/libxkbfile.so.1
            Filename : /usr/share/doc/libxkbfile-1.0.6/COPYING
            Filename : /usr/share/doc/libxkbfile-1.0.6/ChangeLog
            Filename : /usr/lib64/libxkbfile.so.1.0.2
            Filename : /usr/share/doc/libxkbfile-1.0.6

            libxkbfile-1.0.6-1.1.el6.x86_64 : X.Org X11 libxkbfile runtime library
            Repo : installed
            Matched from:
            Filename : /usr/share/doc/libxkbfile-1.0.6/ChangeLog
            Filename : /usr/share/doc/libxkbfile-1.0.6/COPYING
            Filename : /usr/lib64/libxkbfile.so.1
            Filename : /usr/share/doc/libxkbfile-1.0.6/
            Filename : /usr/lib64/libxkbfile.so.1.0.2

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 19 Jan 2021, 18:41 last edited by
              #6

              Not working On CentOS 6, I do not know the exact package name. I found this which may help.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                QTBY
                wrote on 19 Jan 2021, 19:01 last edited by
                #7

                Any other ideas?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 19 Jan 2021, 20:08 last edited by
                  #8

                  Did you check the link I provided ?

                  The brute force solution would be to update your distribution.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Q 1 Reply Last reply 20 Jan 2021, 10:32
                  0
                  • S SGaist
                    19 Jan 2021, 20:08

                    Did you check the link I provided ?

                    The brute force solution would be to update your distribution.

                    Q Offline
                    Q Offline
                    QTBY
                    wrote on 20 Jan 2021, 10:32 last edited by
                    #9

                    @SGaist Hi, i tried with yum localinstall libxkbcommon-x11-0-0.8.3-63.1.x86_64.rpm and got this:

                    Loaded plugins: fastestmirror, refresh-packagekit, security
                    Setting up Local Package Process
                    Examining libxkbcommon-x11-0-0.8.3-63.1.x86_64.rpm: libxkbcommon-x11-0-0.8.3-63.1.x86_64
                    Marking libxkbcommon-x11-0-0.8.3-63.1.x86_64.rpm to be installed
                    Loading mirror speeds from cached hostfile
                    Resolving Dependencies
                    --> Running transaction check
                    ---> Package libxkbcommon-x11-0.x86_64 0:0.8.3-63.1 will be installed
                    --> Processing Dependency: libxkbcommon.so.0(V_0.5.0)(64bit) for package: libxkbcommon-x11-0-0.8.3-63.1.x86_64
                    --> Processing Dependency: libxkbcommon.so.0()(64bit) for package: libxkbcommon-x11-0-0.8.3-63.1.x86_64
                    --> Finished Dependency Resolution
                    Error: Package: libxkbcommon-x11-0-0.8.3-63.1.x86_64 (/libxkbcommon-x11-0-0.8.3-63.1.x86_64)
                    Requires: libxkbcommon.so.0()(64bit)
                    Error: Package: libxkbcommon-x11-0-0.8.3-63.1.x86_64 (/libxkbcommon-x11-0-0.8.3-63.1.x86_64)
                    Requires: libxkbcommon.so.0(V_0.5.0)(64bit)
                    You could try using --skip-broken to work around the problem
                    You could try running: rpm -Va --nofiles --nodigest

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 20 Jan 2021, 19:10 last edited by
                      #10

                      Looks like you need to get another package before.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      5/10

                      19 Jan 2021, 18:32

                      • Login

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