Re: RESOLVED Re: dyld: (No such file or directory, errno =2)
Re: RESOLVED Re: dyld: (No such file or directory, errno =2)
- Subject: Re: RESOLVED Re: dyld: (No such file or directory, errno =2)
- From: "E. Wing" <email@hidden>
- Date: Thu, 20 Oct 2005 23:27:48 -0700
Thanks for the reply. My primary motivations for the questions are
mainly because of the "can't find symbols" problem. I almost always
set my install_name to @executable_path/../Frameworks. I know that
~/Library/Frameworks is always searched, but the symbol problem
affects me there too and has been a thorn in my side for a couple of
years now. I didn't occur to me to think of this as a bug.
Thanks,
Eric
> | 1) Is it possible to set multiple install locations in the
> | install_name? For example, could I set the install_name so that the
> | framework could be placed in any of these locations?
> | @executable_path/../Frameworks
> | @executable_path/../SharedFrameworks
> | /Library/Frameworks
> | /Users/ewing/UnderDevelopment/Frameworks
>
> No. This has been requested (multiple times). It is the equivalent of
> -rpath
> on ELF. See the "Known Issues" section of /Developer/ADC\ Reference\
> Library/releasenotes/DeveloperTools/dyld.html.
>
>
> |
> | (I noticed that /Library/Frameworks always gets searched regardless of
> | what I set the install_name to, but I also noticed that when using the
> | debugger, I get warnings that it can't find the symbols of the
> | framework when it's placed in /Library/Frameworks instead of where the
> | install_name is set to which is inconvenient.)
> |
>
> File a bug on gdb.
>
>
> | 2) Is it possible to specify a path that doesn't hard code the user
> | directory. For example, the Xcode framework template default
> | install_name is $(HOME)/Library/Frameworks. This always gets
> | evaluated and hardcoded to /Users/ewing/Library/Frameworks for me. But
> | if I want to distribute my framework for others to use and wish to
> | have them install it to their own $(HOME)/Library/Frameworks, it would
> | be nice to have the install_name preset so they don't have to change
> | anything. Is there something equivalent to @executable_path for the
> | user home directory?
>
> ~/Library/Frameworks is part of the default search path, see man 1 dyld.
> The
> loader will find these frameworks even if the users login is different.
>
> Peter
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden