Saturday, December 7, 2013

Program error dyld: Library not loaded: @ executable_path /

posts by ibingow on 2012-03-29 21:57:21 Edit
Just under linux compiled as part of the Qt library, so test a QtCore small program, I did not expect such a mistake:
dyld: Library not loaded: @ executable_path /
Referenced from: / private / var / mobile / / thread
.Reason: no suitable image found Did find:.
/ Private / var / mobile / /:. Not a file
/ Private / var / mobile /: not a file
/ Usr / local / lib /: not a file
/ Usr / lib /: not a file
Trace / BPT trap: 5
I felt the way the link, flag link QtCore time for
-Headerpad_max_install_names-miphoneos-version-min = 4.0 -L/opt/iOS-devel/sys/usr/lib-Wl,-syslibroot, / opt / iOS-devel / sys-framework Foundation-framework UIKit-framework QuartzCore-lz - arch = armv6-marm-Wl,-rpath, / media / Share / Qt / sdk / build / qt-ios / lib-Wl,-rpath, / media / Share / Qt / sdk / build / qt-ios / lib - shared-single_module-dynamiclib-miphoneos-version-min = 4.04.8-install_name libQtCore.4.dylib-install_name @ executable_path /

How someone else? Transplant day Qt, intends rest, we hope to help answer the next
Incidentally, the source code and compiled files attached address
https://qt.gitorious.org/ ~ ibingow / qt / ibingows -qt-ios-plaszma
http://code.google.com/p/qtbuild/downloads/list
Reply:
Have to get the library path did not put right, as well as links to the flag have to be changed

No comments:

Post a Comment