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] unable to install Qt 5.2.1 besides Xcode 5.1 on Mac OSX 10.9.2. error: command install_name_tool failed.
QtWS25 Last Chance

[solved] unable to install Qt 5.2.1 besides Xcode 5.1 on Mac OSX 10.9.2. error: command install_name_tool failed.

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 3 Posters 4.4k Views
  • 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
    stijn0001
    wrote on last edited by
    #1

    i get the error below when running the installer. anyone understand the problem?


    Error during installation process (qt.521.clang_64.essentials):
    Command install_name_tool failed.
    Arguments: -change /work/build/PADDING/lib/QtQuick.framework/Versions/5/QtQuick /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtQuick.framework/Versions/5/QtQuick -change /work/build/PADDING/lib/QtQml.framework/Versions/5/QtQml /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtQml.framework/Versions/5/QtQml -change /work/build/PADDING/lib/QtNetwork.framework/Versions/5/QtNetwork /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork -change /work/build/PADDING/lib/QtCore.framework/Versions/5/QtCore /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtCore.framework/Versions/5/QtCore -change /work/build/PADDING/lib/QtGui.framework/Versions/5/QtGui /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtGui.framework/Versions/5/QtGui -change /work/build/PADDING/lib/QtWebKit.framework/Versions/5/QtWebKit /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtWebKit.framework/Versions/5/QtWebKit -change /work/build/PADDING/lib/QtPositioning.framework/Versions/5/QtPositioning /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtPositioning.framework/Versions/5/QtPositioning /Users/stijn/Qt5.2.1/5.2.1/clang_64/qml/QtWebKit/experimental/libqmlwebkitexperimentalplugin.dylib
    Output:

    1 Reply Last reply
    0
    • hskoglundH Online
      hskoglundH Online
      hskoglund
      wrote on last edited by
      #2

      First guess: maybe you have not installed Xcode's command line tools?
      To check: launch a Terminal and type install_name_tool
      If you get "Usage:..." then it's something else...

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stijn0001
        wrote on last edited by
        #3

        thanks for your reply

        I get: "Usage: install_name_tool [-change old new] ... [-id name] input"
        so its something else

        1 Reply Last reply
        0
        • hskoglundH Online
          hskoglundH Online
          hskoglund
          wrote on last edited by
          #4

          Hmmm, can you start QtCreator anyway (in spite of the installer errors)?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stijn0001
            wrote on last edited by
            #5

            yes, i can ignore the errors (twice) and start Qt creator after finishing the installation.

            don't know if ignoring the errors will result in problems later, but so far so good.

            1 Reply Last reply
            0
            • hskoglundH Online
              hskoglundH Online
              hskoglund
              wrote on last edited by
              #6

              Have you tried compiling and running a Qt program? Those installers errors typically messes up the ability for QtCreator to launch/debug your program.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                stijn0001
                wrote on last edited by
                #7

                double clicked on a .pro file, this is the result:

                Error while parsing file /Users/stijn/Desktop/Life/Life.pro. Giving up.
                Could not find qmake configuration file default.
                Cannot read /work/build/PADDING/mkspecs/macx-clang/qmake.conf: No such file or directory
                Could not read qmake configuration file /work/build/PADDING/mkspecs/macx-clang/qmake.conf.
                Could not find qmake configuration file macx-clang.
                Error while parsing file /Users/stijn/Desktop/Life/Life.pro. Giving up.

                1 Reply Last reply
                0
                • hskoglundH Online
                  hskoglundH Online
                  hskoglund
                  wrote on last edited by
                  #8

                  Ouch. While it's possible to do all the needed install_name_tool fiddlings by hand, it looks like you need to have a successful install. Maybe try the 5.3 beta instead? (there's a link on the download page just before the 4.8 downloads)

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

                    Hi,

                    IIRC, re-starting Xcode once the command line tools are installed and before installing the Qt package might 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
                    • S Offline
                      S Offline
                      stijn0001
                      wrote on last edited by
                      #10

                      thanks for replying

                      correct me if i am wrong, but i have read that Xcode Command Line Tools are included with Xcode 5.0.x on Mavericks, so i don't need to install them.

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

                        Before you had to install them by hand, with the latest version of Xcode you can download/install them directly from Xcode. But AFAIK, they are not by default

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

                          update:

                          tried to install Qt 5.2.1 on laptop of my girlfriend.

                          laptop: macbook pro, latest OS X 10.9.2, Xcode 5.1, no extra effort to install command line tools.

                          installer gave no errors!

                          conclusion: something is wrong locally, on my computer.

                          1 Reply Last reply
                          0
                          • hskoglundH Online
                            hskoglundH Online
                            hskoglund
                            wrote on last edited by
                            #13

                            Maybe you change computer with your girlfriend :-)

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              stijn0001
                              wrote on last edited by
                              #14

                              haha. well, i decided to reinstall all relevant software (Mavericks, Xcode) and now it works. problem solved, thanks guys.

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

                                Good !

                                You're welcome !

                                Since you have everything working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                                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