Re: dyld: library not loaded
Re: dyld: library not loaded
- Subject: Re: dyld: library not loaded
- From: Daniel Luis dos Santos <email@hidden>
- Date: Fri, 30 May 2008 13:20:08 +0100
I have found a fix by getting to know what @rpath means. It is a tag
placed in the generation of an executable's binary format indicating
alternate paths to look for dependencies (including other libraries).
By setting the build option "runpath search paths" to the developer
frameworks directory, the executable looks in this place for the sen
testing library at run time.
On May 28, 2008, at 4:13 PM, Jean-Daniel Dupas wrote:
Le 28 mai 08 à 16:43, Daniel Luis dos Santos a écrit :
Hello,
I am trying to debug test code, and have made a target for a
command line tool to do so. I have configured the SenTestingKit
framework in the build options, and it compiles and links fine.
When I run the code I get the following output :
dyld: Library not loaded: @rpath/SenTestingKit.framework/Versions/A/
SenTestingKit
Referenced from: /Users/dlsa/code/Boobs/trunk/base-common/build/
Debug/testRunner
Reason: image not found
SenTestingKit is intended to be used with the "otest" tool (in /
Developer/Tools that is automatically invoked by Xcode when you
build a TestUnit target), and not by your own testing tool.
If you really need to create your own testing tool, you have to set
the DYLD_FALLBACK_FRAMEWORK_PATH env var to /Developer/Library/
Framework (where the SenTestingKit framework stand). (see man dyld
for details).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden