• 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: RESOLVED Re: dyld: (No such file or directory, errno =2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 12:42:34 -0700

> From: George Warner
> You may be able to change it yourself. Try:
>
> term> install_name_tool -id @executable_path/../Frameworks MyLib.dylib

Since you're on the subject, I've had two questions about this for a
couple of years now.

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

(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.)

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?


So far, all my experiments for both #1 and #2 produce the answer "No".
But I would appreciate a more authoritative answer.


Thanks,
Eric
 _______________________________________________
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

  • Follow-Ups:
    • Re: RESOLVED Re: dyld: (No such file or directory, errno =2)
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: dyld issues with library not in standard location
  • Next by Date: Xcode 2.1 & Subversion svn:// fix?
  • Previous by thread: Re: Scripting build settings
  • Next by thread: Re: RESOLVED Re: dyld: (No such file or directory, errno =2)
  • Index(es):
    • Date
    • Thread