Library not loaded: qwt.framework/Versions/6/qwt
-
@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) -
otoolwon't automatically correct anything. In this case it was to look at the dependencies and the id of the framework.Use
install_name_tooland change the id to contain the full path. -
otoolwon't automatically correct anything. In this case it was to look at the dependencies and the id of the framework.Use
install_name_tooland change the id to contain the full path. -
Did you read the help of that command ?
-
@SGaist Yes, I did try like this :
install_name_tool -helpoutput 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] inputI did like this also
install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwtthe 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``` -
@SGaist Yes, I did try like this :
install_name_tool -helpoutput 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] inputI did like this also
install_name_tool -id /Users/axx/lib/qwt.framework/qwt.framework/Versions/6/qwtthe 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```@thippu said in Library not loaded: qwt.framework/Versions/6/qwt:
[-id name] input
Where is the "input"?
-
@thippu said in Library not loaded: qwt.framework/Versions/6/qwt:
[-id name] input
Where is the "input"?
-
@jsulm install_name_tool -id /Users/lib/qwt.framework/qwt.framework/Versions/6/qwt
after the-idThe path is input right?
-
@jsulm install_name_tool -id /Users/lib/qwt.framework/qwt.framework/Versions/6/qwt
after the-idThe path is input right?
-
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]
-
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]
@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 -
What version of Xcode are you using ?
-
@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/qwtoutput:
ln: /usr/lib/qwt: Operation not permittedWhat 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