Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Error in compiling QT-5.0 on ubuntu linux
Forum Updated to NodeBB v4.3 + New Features

Error in compiling QT-5.0 on ubuntu linux

Scheduled Pinned Locked Moved India
27 Posts 3 Posters 19.4k 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.
  • S Offline
    S Offline
    sierdzio
    Moderators
    wrote on 1 Feb 2013, 07:08 last edited by
    #13

    Qt installs to root directories, you need to run it with sudo:
    @
    sudo make install
    @

    As for QtC - either provide that library version, or compile QtC yourself.

    (Z(:^

    1 Reply Last reply
    0
    • S Offline
      S Offline
      santhosh
      wrote on 1 Feb 2013, 10:36 last edited by
      #14

      when i install QT ".run" file in linux it is showing this error

      ""[user@localhost Desktop]$ ./qt-linux-opensource-5.0.1-x86-offline.run
      ./qt-linux-opensource-5.0.1-x86-offline.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.9' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run) ./qt-linux-opensource-5.0.1-x86-offline.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
      ./qt-linux-opensource-5.0.1-x86-offline.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run) ./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version GLIBC_2.9' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
      ./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version GLIBC_2.10' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run) ./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version GLIBC_2.11' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
      ./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
      what is this error???
      Please rectify my problem

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 1 Feb 2013, 10:44 last edited by
        #15

        Precompiled package is compiled on Ubuntu. There might be library naming clashes. Compile the stuff yourself or symlink the libraries to cheat the package.

        (Z(:^

        1 Reply Last reply
        0
        • S Offline
          S Offline
          santhosh
          wrote on 8 Mar 2013, 09:22 last edited by
          #16

          Hi everybody I got some errors while installing qt4.7.0 version in redhat linux 5.5 version...
          Firstly i have copied all the files into a folder and moved to that folder using terminal.
          Over their I gave a command "./configure"
          Then all the configuration files are executed.
          Then after I gave "gmake" command
          It gave a error like this:
          [user@localhost qt-everywhere-opensource-src-4.7.0]$ gmake
          cd src/tools/bootstrap/ && /home/user/Desktop/qt\ installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/bin/qmake /home/user/Desktop/qt installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro -spec ../../../mkspecs/linux-g++ -o Makefile
          Cannot find file: /home/user/Desktop/qt.
          Cannot find file: installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro.
          gmake: *** [src/tools/bootstrap/Makefile] Error 2

          When I give ""gmake install "" command
          It gave errors like this

          [user@localhost qt-everywhere-opensource-src-4.7.0]$ gmake install
          cd src/tools/bootstrap/ && /home/user/Desktop/qt\ installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/bin/qmake /home/user/Desktop/qt installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro -spec ../../../mkspecs/linux-g++ -o Makefile
          Cannot find file: /home/user/Desktop/qt.
          Cannot find file: installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro.
          gmake: *** [src/tools/bootstrap/Makefile] Error 2

          Please rectify my problem as soon as possible...

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 8 Mar 2013, 09:28 last edited by
            #17

            Which package have you downloaded?

            (Z(:^

            1 Reply Last reply
            0
            • S Offline
              S Offline
              santhosh
              wrote on 8 Mar 2013, 09:34 last edited by
              #18

              qt‐everywhere‐opensource‐src‐4.7.0

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sierdzio
                Moderators
                wrote on 8 Mar 2013, 09:35 last edited by
                #19

                Tarball or zip?

                (Z(:^

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  santhosh
                  wrote on 8 Mar 2013, 09:40 last edited by
                  #20

                  actually it was tarball but it was unable to unzip those file in linux so i have unzipped those files in windows and copied back into linux and installed

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sierdzio
                    Moderators
                    wrote on 8 Mar 2013, 09:42 last edited by
                    #21

                    Either a broken download or some nasty Windows conversion bug, it would seem.

                    This should extract the archive. If it fails, check the checksums, maybe your download is bad:
                    @
                    tar -xaf qt‐everywhere‐opensource‐src‐4.7.0.tar.gz
                    @

                    (Z(:^

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      santhosh
                      wrote on 8 Mar 2013, 09:45 last edited by
                      #22

                      ya i have tried this but it is saying that ""permission denined""....
                      Then i have changed the permissions using chmod command....
                      After this some unzip process went on and i didnt find the extracted file and it is saying that
                      ""nothing is changed""

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        santhosh
                        wrote on 8 Mar 2013, 09:49 last edited by
                        #23

                        qt creator was installed successfully but there was some problem with gmake

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          sierdzio
                          Moderators
                          wrote on 8 Mar 2013, 09:50 last edited by
                          #24

                          it extracts to a directory named the same as the tarball.

                          (Z(:^

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            santhosh
                            wrote on 8 Mar 2013, 09:50 last edited by
                            #25

                            Will be their any problem with Operating System

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              santhosh
                              wrote on 8 Mar 2013, 09:51 last edited by
                              #26

                              I didnt find any such file or folder

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                sierdzio
                                Moderators
                                wrote on 8 Mar 2013, 09:51 last edited by
                                #27

                                I don't think so. RedHat is a big distro, I've never heard people having trouble running Qt there.

                                (Z(:^

                                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