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: "Peter O'Gorman" <email@hidden>
- Date: Fri, 21 Oct 2005 08:32:43 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
E. Wing wrote:
|
| 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ1gpG7iDAg3OZTLPAQI7dQQAnCt2F8VJlyVaB+r79KXVYG8wDJPea9MP
H6spoZgyOirqDTybj+M/0cyRMGFYEc2hzRwy439Bl8Ktfxl/lAiMmh6bh8nAXFGx
D9OhyDGygjPgi/dgUAGHJZcWTCpuShx1K2UzP9efxBsrfhb2QrEmOwOsvu292Ail
vetQuhBQjac=
=sOlF
-----END PGP SIGNATURE-----
_______________________________________________
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