• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dylib problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: dylib problem
      • From: Nick Zitzmann <email@hidden>
References: 
 >Re: dylib problem (From: Aaron Faby <email@hidden>)

  • Prev by Date: NSImageRep in a "Tool"
  • Next by Date: Re: NSImage and Photoshop jpegs
  • Previous by thread: Re: dylib problem
  • Next by thread: Re: dylib problem
  • Index(es):
    • Date
    • Thread