Re: @loader_path and @executable_path
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