• 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: @loader_path and @executable_path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @loader_path and @executable_path


  • Subject: Re: @loader_path and @executable_path
  • From: Dave Dribin <email@hidden>
  • Date: Mon, 12 Jan 2009 22:40:06 -0600

On Jan 12, 2009, at 6:33 PM, Dave Dribin wrote:
Upon further investigation, the error "(file not found)" seems to imply that it can't find the file, which is clearly not the correct error message. Furthermore, I took a quick glance at the gdb sources [1], and noticed that it only resolves @executable_path. I'm guessing gdb needs to be updated to properly support @loader_path and @rpath. Namely the dyld_library_basename() looks incorrect. I'm gonna file a bug about this.

Err... I meant dyld_resolve_image().

Bug filed: rdar://problem/6491330 http://openradar.appspot.com/6491330

It only seems to happen with @loader_path. @executable_path and @rpath do not give any warnings. Here's the project that I included in the bug report:

  http://dl.getdropbox.com/u/27036/tmp/2009/AppWithFramework.tbz2

-Dave

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >@loader_path and @executable_path (From: Joseph Crawford <email@hidden>)
 >Re: @loader_path and @executable_path (From: Dave Dribin <email@hidden>)
 >Re: @loader_path and @executable_path (From: Brandon Walkin <email@hidden>)
 >Re: @loader_path and @executable_path (From: Dave Dribin <email@hidden>)

  • Prev by Date: [JOB] iPhone Developer, NYC - 80-110k
  • Next by Date: Killall Finder Brings Hidden Apps To Front?
  • Previous by thread: Re: @loader_path and @executable_path
  • Next by thread: Re: @loader_path and @executable_path
  • Index(es):
    • Date
    • Thread