Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Library not loaded: qwt.framework/Versions/6/qwt
Forum Update on Monday, May 27th 2025

Library not loaded: qwt.framework/Versions/6/qwt

Scheduled Pinned Locked Moved Unsolved General and Desktop
24 Posts 4 Posters 5.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.
  • T thippu
    26 Sept 2018, 07:29

    @SGaist
    Did execute on this path /user/lib/
    qwt.framework is there here.
    output of the command is below:

    qwt.framework was in otool -L qwt.framework/qwt
    qwt.framework/qwt:
    	qwt.framework/Versions/6/qwt (compatibility version 6.1.0, current version 6.1.3)
    	@rpath/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.11.0, current version 5.11.2)
    	@rpath/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.11.0, current version 5.11.2)
    	@rpath/QtGui.framework/Versions/5/QtGui (compatibility version 5.11.0, current version 5.11.2)
    	@rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.11.0, current version 5.11.2)
    	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
    	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
    	@rpath/QtSvg.framework/Versions/5/QtSvg (compatibility version 5.11.0, current version 5.11.2)
    	@rpath/QtOpenGL.framework/Versions/5/QtOpenGL (compatibility version 5.11.0, current version 5.11.2)
    	@rpath/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.11.0, current version 5.11.2)
    	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
    	/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
    	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
    	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
    
    T Offline
    T Offline
    thippu
    wrote on 26 Sept 2018, 07:38 last edited by
    #9

    @thippu Still has the issue, what to do?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Sept 2018, 07:42 last edited by
      #10

      otool won't automatically correct anything. In this case it was to look at the dependencies and the id of the framework.

      Use install_name_tool and change the id to contain the full path.

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

      T 1 Reply Last reply 26 Sept 2018, 07:47
      0
      • S SGaist
        26 Sept 2018, 07:42

        otool won't automatically correct anything. In this case it was to look at the dependencies and the id of the framework.

        Use install_name_tool and change the id to contain the full path.

        T Offline
        T Offline
        thippu
        wrote on 26 Sept 2018, 07:47 last edited by
        #11

        @SGaist
        Like this? :

        install_name_tool /user/lib/qwt
        
        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 26 Sept 2018, 07:56 last edited by
          #12

          Did you read the help of that command ?

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

          T 1 Reply Last reply 26 Sept 2018, 08:07
          0
          • S SGaist
            26 Sept 2018, 07:56

            Did you read the help of that command ?

            T Offline
            T Offline
            thippu
            wrote on 26 Sept 2018, 08:07 last edited by
            #13

            @SGaist Yes, I did try like this :

            install_name_tool -help
            

            output of the command:

            Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
            

            I did like this also

            install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwt
            

            the output of the command has no change why?

            Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input```
            J 1 Reply Last reply 26 Sept 2018, 08:18
            0
            • T thippu
              26 Sept 2018, 08:07

              @SGaist Yes, I did try like this :

              install_name_tool -help
              

              output of the command:

              Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
              

              I did like this also

              install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwt
              

              the output of the command has no change why?

              Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input```
              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 26 Sept 2018, 08:18 last edited by
              #14

              @thippu said in Library not loaded: qwt.framework/Versions/6/qwt:

              [-id name] input

              Where is the "input"?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              T 1 Reply Last reply 26 Sept 2018, 08:20
              1
              • J jsulm
                26 Sept 2018, 08:18

                @thippu said in Library not loaded: qwt.framework/Versions/6/qwt:

                [-id name] input

                Where is the "input"?

                T Offline
                T Offline
                thippu
                wrote on 26 Sept 2018, 08:20 last edited by thippu
                #15

                @jsulm install_name_tool -id /Users/lib/qwt.framework/qwt.framework/Versions/6/qwt
                after the

                -id 
                

                The path is input right?

                J T 2 Replies Last reply 26 Sept 2018, 08:22
                0
                • T thippu
                  26 Sept 2018, 08:20

                  @jsulm install_name_tool -id /Users/lib/qwt.framework/qwt.framework/Versions/6/qwt
                  after the

                  -id 
                  

                  The path is input right?

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 26 Sept 2018, 08:22 last edited by
                  #16

                  @thippu I don't know, I'm not an MacOS expert. @SGaist probably knows.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  T 1 Reply Last reply 26 Sept 2018, 08:22
                  0
                  • J jsulm
                    26 Sept 2018, 08:22

                    @thippu I don't know, I'm not an MacOS expert. @SGaist probably knows.

                    T Offline
                    T Offline
                    thippu
                    wrote on 26 Sept 2018, 08:22 last edited by
                    #17

                    @jsulm Thanks for the reply.

                    1 Reply Last reply
                    0
                    • T thippu
                      26 Sept 2018, 08:20

                      @jsulm install_name_tool -id /Users/lib/qwt.framework/qwt.framework/Versions/6/qwt
                      after the

                      -id 
                      

                      The path is input right?

                      T Offline
                      T Offline
                      thippu
                      wrote on 26 Sept 2018, 08:32 last edited by thippu
                      #18

                      @thippu you are right I was missing the input keyword,
                      now if I do this

                      install_name_tool -id input /Users/lib/qwt.framework
                      

                      output is : can't map file qwt.framework(invalid argument)

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 26 Sept 2018, 08:52 last edited by SGaist
                        #19

                        install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwt /Users/axx/lib/qwt.framework/qwt.framework/qwt

                        [edit: Fixed path SGaist]

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

                        T 1 Reply Last reply 26 Sept 2018, 09:36
                        0
                        • S SGaist
                          26 Sept 2018, 08:52

                          install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwt /Users/axx/lib/qwt.framework/qwt.framework/qwt

                          [edit: Fixed path SGaist]

                          T Offline
                          T Offline
                          thippu
                          wrote on 26 Sept 2018, 09:36 last edited by
                          #20

                          @SGaist said in Library not loaded: qwt.framework/Versions/6/qwt:

                          install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwt /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwt

                          error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: more than one input file specified
                          
                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 26 Sept 2018, 10:16 last edited by
                            #21

                            What version of Xcode are you using ?

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

                            T 1 Reply Last reply 26 Sept 2018, 10:47
                            0
                            • S SGaist
                              26 Sept 2018, 10:16

                              What version of Xcode are you using ?

                              T Offline
                              T Offline
                              thippu
                              wrote on 26 Sept 2018, 10:47 last edited by
                              #22

                              @SGaist xcode version is
                              Xcode 10.0
                              Build version 10A255

                              T 1 Reply Last reply 26 Sept 2018, 12:11
                              0
                              • T thippu
                                26 Sept 2018, 10:47

                                @SGaist xcode version is
                                Xcode 10.0
                                Build version 10A255

                                T Offline
                                T Offline
                                thippu
                                wrote on 26 Sept 2018, 12:11 last edited by
                                #23

                                @thippu
                                I did try to create a soft link by doing this:

                                sudo ln -s /usr/local/qwt-6.1.3/lib/qwt.framework/qwt /usr/lib/qwt
                                

                                output:

                                ln: /usr/lib/qwt: Operation not permitted
                                
                                T 1 Reply Last reply 26 Sept 2018, 14:09
                                0
                                • T thippu
                                  26 Sept 2018, 12:11

                                  @thippu
                                  I did try to create a soft link by doing this:

                                  sudo ln -s /usr/local/qwt-6.1.3/lib/qwt.framework/qwt /usr/lib/qwt
                                  

                                  output:

                                  ln: /usr/lib/qwt: Operation not permitted
                                  
                                  T Offline
                                  T Offline
                                  thippu
                                  wrote on 26 Sept 2018, 14:09 last edited by
                                  #24

                                  What about this link solution:http://macappstore.org/qwt/

                                  Press Command+Space and type Terminal and press enter/return key.
                                  Run in Terminal app:
                                  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
                                  and press enter/return key. 
                                  If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
                                  Run:
                                  brew install qwt
                                  
                                  1 Reply Last reply
                                  0

                                  18/24

                                  26 Sept 2018, 08:32

                                  • Login

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