Re: dylib problem
Re: dylib problem
- Subject: Re: dylib problem
- From: sinclair44 <email@hidden>
- Date: Wed, 19 Mar 2003 19:36:28 -0500
On 3/19/03 6:55 PM, "Lloyd Dupont" <email@hidden> wrote:
>
dyld: /Users/lloyd/dev/Audit/un/build/un can't open library:
>
@executable_path/../Frameworks/libHIDUtilities.dylib (No such file or
>
directory, errno = 2)
Every dylib has an install path "burned" into it. When you app links with
it, instead of the contents of the library being included, just that path
is. The path, in this case, is <program using
dylib>/../Frameworks/libHIDUtilities.dylib.
If you are using an AppKit .app bundle, set up a "Copy Files" phase and copy
libHIDUtilties.dylib into the "Frameworks" directory. If you are using a
Foundation tool (which it appears you are), you need to change the install
path of the dylib. I don't know how to do that, but a temporary fix is to
create a folder alongside the "build" folder called "Frameworks" and drop
the dylib there.
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[self coverLegalButt];
[[GeorgeBush principalClass] assassinate:[world currentLeaders]];
[[BinLaden principalClass] terrorize:[world citizens]];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
- (void)coverLegalButt
{
/* The above does not reflect any plans, expressed or implied, real or
imaginative, to kill or assassinate anyone, or to harm anyone in any shape,
way or form. Any relation to actual events is purely coincidental. */
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.