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. [SOLVED] - LibX11-xcb.so.1 => not found
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] - LibX11-xcb.so.1 => not found

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 2 Posters 45.5k 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.
  • M Offline
    M Offline
    mariusl
    wrote on last edited by
    #1

    Hi
    I just installed QT5 with QTcreator using the online installer for linux and got this error.
    I looked at the many reports of this error on the forum and elsewhere but still have not found a solution.

    I did the ldd and found this

    @linux-gate.so.1 => (0x0077c000)
    libX11-xcb.so.1 => not found
    libXi.so.6 => /usr/lib/libXi.so.6 (0x006d8000)
    @

    I do not have the source nor did I compile the package. It was installed from the web. Can anyone please tell me how to solve this. I wasted a day on this already and after trying all the good advice I could find I am still no closer to using the software.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which version of libX11-xcb do you have on your desktop ?

      Did you installed the related dev packages ?

      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
      • M Offline
        M Offline
        mariusl
        wrote on last edited by
        #3

        Thanks for the reply. I am not sure how to tell the libX11-xcb version. Please give a hint.
        I only used the linux online installer. I did install some things as they were suggested in the various posts but I cannot say that I installed any dev packages. What should I be looking for?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You distribution package manager should tell you that.

          Not knowing which distribution you are using I can't help more.

          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
          • M Offline
            M Offline
            mariusl
            wrote on last edited by
            #5

            Ok I found the version info. It seems to be 2:1.3.2-1ubuntu3. The dev package is also installed of the same version.

            Pic of the installed files
            "snapshot":http://picpaste.com/Screenshot-12-QrLULmO4.png

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You need to install libx11-xcb-dev

              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
              • M Offline
                M Offline
                mariusl
                wrote on last edited by
                #7

                That was rather silly. I did not notice the packages were not installed. I done that and get this now.

                @Failed to load core: /opt/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: Cannot load library /opt/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))
                @
                "current installed packages":http://picpaste.com/Screenshot-15-WsJi8aMl.png

                And then I did this and see that it is missing.

                @marius@marius-desktop:/opt/Qt/Tools/QtCreator/bin$ strings /usr/lib/libstdc++.so.6 | grep GLIBCXX
                GLIBCXX_3.4
                GLIBCXX_3.4.1
                GLIBCXX_3.4.2
                GLIBCXX_3.4.3
                GLIBCXX_3.4.4
                GLIBCXX_3.4.5
                GLIBCXX_3.4.6
                GLIBCXX_3.4.7
                GLIBCXX_3.4.8
                GLIBCXX_3.4.9
                GLIBCXX_3.4.10
                GLIBCXX_3.4.11
                GLIBCXX_3.4.12
                GLIBCXX_3.4.13
                GLIBCXX_FORCE_NEW
                GLIBCXX_DEBUG_MESSAGE_LENGTH
                @

                How do I get the right version?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mariusl
                  wrote on last edited by
                  #8

                  Ok it took some scratching but I think I have it sorted. The synaptic package manager did not pick up on the fact that the gcc version was not the latest. So I had to do this:

                  sudo apt-get install gcc-4.7-base
                  sudo apt-get install libstdc++6-4.7-dev

                  and then the QTcreator loaded without a problem. Now to see if I can make it work :)

                  Thanks a lot for the help, it is appreciated.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    You're welcome !

                    If Qt Creator can load then you are ready to do some work :)

                    Happy coding !

                    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
                    • M Offline
                      M Offline
                      mariusl
                      wrote on last edited by
                      #10

                      I spoke too quick, after the upgrade, I lost most of my desktop applications. I cannot even open a terminal or chrome. What applications are open is all that I have to work with. I am busy making copies of my crucial stuff and then I will have to rebuild the machine.
                      Linux is dangerous.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        What distribution are you on ?

                        Depending on the age of it and the possibility to upgrade, you should consider building Qt yourself.

                        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
                        • M Offline
                          M Offline
                          mariusl
                          wrote on last edited by
                          #12

                          I have a feeling that I did something stupid along the way and that I might have had something else missing or not installed correctly.
                          I rebuild the machine on Ubuntu 10.04 (used for Linuxcnc development) and did it this way. All is working now.

                          @1: Download the linux 32-bit package from the QT-project website (http://qt-project.org/downloads).
                          NOTE: Do not use the online installer (nothing to fallback on)
                          2: With synaptic package manager install libx11-dev
                          3: then do this
                          sudo add-apt-repository ppa:ubuntu-toolchain-r/test
                          sudo apt-get update
                          sudo apt-get upgrade
                          sudo apt-get dist-upgrade
                          4: Make the downloaded QT file executable
                          5: run qt-opensource-linux-x86-5.2.1.run@

                          1 Reply Last reply
                          1
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            My guess: dist-upgrade :)

                            Out of curiosity, can you check the Ubuntu version you have now ?

                            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
                            • M Offline
                              M Offline
                              mariusl
                              wrote on last edited by
                              #14

                              dist-upgrade only effected the four library files. This is the system as is now. Same as before I think.

                              @Linux cnc-dev 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux
                              @

                              @No LSB modules are available.
                              Distributor ID: Ubuntu
                              Description: Ubuntu 10.04.4 LTS
                              Release: 10.04
                              Codename: lucid
                              @

                              I think what happened is when I did the gcc upgrade I saw many removes. I do not know how I did it though and it was to late to stop. I guess I did not read the prompts well enough.

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                Package management is like a contract always read all the content ;)

                                What matters is that you have your documents and that you are up and running with Qt :)

                                Happy coding !

                                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

                                • Login

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