Re: dylib problem
Re: dylib problem
- Subject: Re: dylib problem
- From: Lloyd Dupont <email@hidden>
- Date: Fri, 21 Mar 2003 10:35:49 +1100
thanks, looks good :-)
I do wonder how you heard about it ;-)
On Friday, March 21, 2003, at 06:22 AM, Aaron Faby wrote:
You can change the install path by using the "install_name_tool"
program
included with the Developer Tools. Works really well.
Regards,
Aaron Faby
On Wednesday, March 19, 2003, at 04:36 PM, sinclair44 wrote:
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.
----------------------------------------------------------------
Aaron Faby Server Logistics
email@hidden UNIX, Internet, Macintosh
http://www.serverlogistics.com Phone: 323-963-9867
Fax: 323-372-3546 Cell: 323-363-9127
----------------------------------------------------------------
_______________________________________________
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.
_______________________________________________
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.