Library not loaded: qwt.framework/Versions/6/qwt
-
wrote on 25 Sept 2018, 14:29 last edited by thippu
Hi Guys,
I have installed the Qwt on Mac Os, if I build any qwt project build success but could not able to run on the machine why?
any solution to this? -
Hi Guys,
I have installed the Qwt on Mac Os, if I build any qwt project build success but could not able to run on the machine why?
any solution to this? -
Hi,
What does
otool -L qwt.framework/qwt
return ? -
You better give a couple of more details of what you actually try to do.
Do you use Qt creator?
Which Qt version are you using?
What is the actual Mac OS version?wrote on 26 Sept 2018, 04:41 last edited by thippu 10 Dec 2018, 07:24@koahnig Hi,
thanks for the reply:
Below is the information:1)Qt 5.11.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 8.1.0 (clang-802.0.42) (Apple)) on "cocoa" 2)OS: macOS High Sierra (10.13) [darwin version 17.7.0] 3)Qt creator: Qt Creator 4.7.1. Error I'm getting is:19:47:55: Starting /Users/Desktop/build-check5-Desktop_Qt_5_10_0_clang_64bit2-Debug/check5.app/Contents/MacOS/check5... dyld: Library not loaded: qwt.framework/Versions/6/qwt Referenced from: /Users/Desktop/build-check5-Desktop_Qt_5_10_0_clang_64bit2-Debug/check5.app/Contents/MacOS/check5 Reason: image not found 19:47:55: The program has unexpectedly finished. 19:47:55: The process was ended forcefully. 19:47:55: /Users/Desktop/build-check5-Desktop_Qt_5_10_0_clang_64bit2-Debug/check5.app/Contents/MacOS/check5 crashed.```
-
wrote on 26 Sept 2018, 04:45 last edited by
@SGaist I did run
otool -L qwt.framework/qwt
on terminal
It says like this:otool -L qwt.framework/qwt /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'qwt.framework/qwt': No such file or directory
-
Might be a silly question but did you execute that command in the folder where
qwt.framework
is located ? -
Might be a silly question but did you execute that command in the folder where
qwt.framework
is located ? -
Might be a silly question but did you execute that command in the folder where
qwt.framework
is located ?wrote on 26 Sept 2018, 07:29 last edited by@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)
-
@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)
-
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. -
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. -
Did you read the help of that command ?
-
wrote on 26 Sept 2018, 08:07 last edited by
@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```
-
@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```
@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-id
The path is input right?
-
@jsulm install_name_tool -id /Users/lib/qwt.framework/qwt.framework/Versions/6/qwt
after the-id
The 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]
wrote on 26 Sept 2018, 09:36 last edited by@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/24