Re: Library location
Re: Library location
- Subject: Re: Library location
- From: email@hidden
- Date: Tue, 21 Dec 2004 00:58:26 +0000
-------------- Original message --------------
> dyld:
> /Examples/Cocoa/QTSSConnectionMonitor/build/QTSSConnectionMonitor.app/
> Contents/MacOS/QTSSConnectionMonitor can't open library:
> /Library/Frameworks/MOKit.framework/Versions/A/MOKit (No such file or
> directory, errno = 2)
>
> Executable QTSSConnectionMonitor has exited due to signal 5 (SIGTRAP).
>
> I assume I need to set something to tell the app that the framework's
> NOT in /Library, but I don't see such a setting
where is it located?
What is the output of "otool -L" on the framework binary? When you run that against a library, then the first path that is printed is the installation path of the library. My guess is the framework you're using was built with the incorrect installation path.
If it's not what you expected, then you need to either re-link the framework/library with the correct installation path (assuming you have the source code for the framework/library), or you need to use the "install_name_tool" command line program to change the installation path. YMMV with the latter option.
_______________________________________________
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