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. Qt installation is missing libxcb
Forum Updated to NodeBB v4.3 + New Features

Qt installation is missing libxcb

Scheduled Pinned Locked Moved Solved Installation and Deployment
15 Posts 4 Posters 12.8k Views 2 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.
  • JonBJ JonB

    @mzimmers
    I'm not sure those icccm4 names ring a bell for me under Ubuntu at least?
    You might start looking at the list in https://doc.qt.io/qt-6/linux-requirements.html. (Though whatever I/others install is not nearly as long as the complete list there.)
    The bits required for libxcb have been asked about so often for various platforms, you could search posts here about libxcb and which named packages people installed.

    JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by
    #6

    @JonB "error while loading shared libraries: libxcb-icccm.so" clearly shows what is missing.

    install libxcb-icccm4.

    JonBJ mzimmersM 2 Replies Last reply
    1
    • JoeCFDJ JoeCFD

      @JonB "error while loading shared libraries: libxcb-icccm.so" clearly shows what is missing.

      install libxcb-icccm4.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #7

      @JoeCFD LOL, I didn't look at the error message :)
      [You should restore your post. I think you were correct :) ]

      JoeCFDJ 1 Reply Last reply
      0
      • JonBJ JonB

        @JoeCFD LOL, I didn't look at the error message :)
        [You should restore your post. I think you were correct :) ]

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #8

        @JonB I restored it after I made sure I have this one in my computer.

        1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          @JonB "error while loading shared libraries: libxcb-icccm.so" clearly shows what is missing.

          install libxcb-icccm4.

          mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by mzimmers
          #9

          @JoeCFD I tried that command, and I get the same "package not found" error.

          I'm looking at the list on the page that @JonB referenced. I don't want one of the -dev packages, though, do I?

          EDIT:

          This page returned a long list, too, but might the first entry be the one I want?
          packages.JPG

          JoeCFDJ 1 Reply Last reply
          0
          • mzimmersM mzimmers

            @JoeCFD I tried that command, and I get the same "package not found" error.

            I'm looking at the list on the page that @JonB referenced. I don't want one of the -dev packages, though, do I?

            EDIT:

            This page returned a long list, too, but might the first entry be the one I want?
            packages.JPG

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #10

            @mzimmers -dev has include files which you do not need. You need them only when your app uses these libs directly. Therefore, install libxcb-icccm4 is good enough.

            run command:
            locate libxcb-icccm.so

            to see if it is installed and where it is located.

            mzimmersM 1 Reply Last reply
            1
            • JoeCFDJ JoeCFD

              @mzimmers -dev has include files which you do not need. You need them only when your app uses these libs directly. Therefore, install libxcb-icccm4 is good enough.

              run command:
              locate libxcb-icccm.so

              to see if it is installed and where it is located.

              mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by mzimmers
              #11

              @JoeCFD said in Qt installation is missing libxcb:

              @mzimmers -dev has include files which you do not need. You need them only when your app use these libs directly.

              OK, that's what I thought...thanks. Though I will need to build my own Qt libraries from source (this is ultimately for an embedded system), so I guess eventually I will need one of those.

              run command:
              locate libxcb-icccm.so

              to see if it is installed and where it is located.

              That command returned nothing (which I expected).

              I imagine that one of the packages returned in the search above is what I want; I just don't know which one.

              JoeCFDJ 1 Reply Last reply
              0
              • mzimmersM mzimmers

                @JoeCFD said in Qt installation is missing libxcb:

                @mzimmers -dev has include files which you do not need. You need them only when your app use these libs directly.

                OK, that's what I thought...thanks. Though I will need to build my own Qt libraries from source (this is ultimately for an embedded system), so I guess eventually I will need one of those.

                run command:
                locate libxcb-icccm.so

                to see if it is installed and where it is located.

                That command returned nothing (which I expected).

                I imagine that one of the packages returned in the search above is what I want; I just don't know which one.

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by
                #12

                @mzimmers
                is your OS Ubuntu?
                If yes, run
                sudo synaptic
                click find icon and type libxcb-icccm4
                you will be able to see it. Then select it and install. You can see if it is installed or not.

                mzimmersM 1 Reply Last reply
                1
                • JoeCFDJ JoeCFD

                  @mzimmers
                  is your OS Ubuntu?
                  If yes, run
                  sudo synaptic
                  click find icon and type libxcb-icccm4
                  you will be able to see it. Then select it and install. You can see if it is installed or not.

                  mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #13

                  @JoeCFD handy stuff to know...thanks.

                  So, after I installed libxcb_icccm4, I got a similar error for _image, then for _keysyms. I can go through these one at a time, but...is there a "superset" package that will save me the work?

                  JoeCFDJ 1 Reply Last reply
                  0
                  • mzimmersM mzimmers

                    @JoeCFD handy stuff to know...thanks.

                    So, after I installed libxcb_icccm4, I got a similar error for _image, then for _keysyms. I can go through these one at a time, but...is there a "superset" package that will save me the work?

                    JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by
                    #14

                    @mzimmers Maybe it is better to install them one after another. Otherwise, you may install a lot of things which are not needed.

                    mzimmersM 1 Reply Last reply
                    0
                    • JoeCFDJ JoeCFD

                      @mzimmers Maybe it is better to install them one after another. Otherwise, you may install a lot of things which are not needed.

                      mzimmersM Offline
                      mzimmersM Offline
                      mzimmers
                      wrote on last edited by mzimmers
                      #15

                      For anyone who may happen to need this information, here are the xcb libraries I needed for Qt 6.5.2:

                      • libxcb-icccm4
                      • libxcb-image
                      • libxcb-keysyms
                      • libxcb-render_util
                      • libxcb-xinerama
                      • libxcb-xkb
                        plus:
                      • libxkbcommon-X11

                      I ran into problems installing these with apt (it couldn't find the first one), but the Synaptic application @JoeCFD mentioned worked fine.

                      sudo apt install synaptic
                      

                      Thanks to everyone for the help.

                      1 Reply Last reply
                      4
                      • mzimmersM mzimmers has marked this topic as solved on
                      • mzimmersM mzimmers has marked this topic as unsolved on
                      • mzimmersM mzimmers has marked this topic as solved on

                      • Login

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