Re: Library location
Re: Library location
- Subject: Re: Library location
- From: Mark Dawson <email@hidden>
- Date: Mon, 20 Dec 2004 17:16:12 -0800
That was it. Using the "otool", I saw that it was set to
/Lbrary/Frameworks. I ended up just manually copying the framework
into the Frameworks folder, and everything launched. Thanks!
mark
On Dec 20, 2004, at 4:58 PM, email@hidden wrote:
-------------- 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