• 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: Some quick questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some quick questions


  • Subject: Re: Some quick questions
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 2 Jul 2005 23:06:20 -0600


On Jul 2, 2005, at 9:25 PM, Andrew Hannon wrote:

I don't have the directory tree rooted in /sw/ on my system (I am working from a fresh install of Tiger). I see it mentioned quite a bit in searches, but it seems to be that everyone has it, and I can't figure out why I don't. Is this really a directory tree?

Yes.

Is it related to having Fink or X11 installed?

"/sw" is the parent directory used by Fink, and nothing else AFAIK.

And, finally, why is it looking, and failing to find libraries, in / sw/lib/, when they exist in /usr/local/lib/?

Because Mac OS X uses the Mach-O ABI, not the ELF ABI used by most other Unix-like systems. The Mach-O ABI hard-codes all of its paths to libraries inside linked object files at link time. If one library is not located at its hard-coded path, or the library depends on a library that isn't at its path, etc. then the process won't run. You can run "otool -L" from the command line on any object file to see the libraries it uses.


Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

_______________________________________________
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


References: 
 >Some quick questions (From: Andrew Hannon <email@hidden>)

  • Prev by Date: Some quick questions
  • Next by Date: Re: Xcode 2.1 debugger hanging at breakpoint
  • Previous by thread: Some quick questions
  • Next by thread: More on ignored compile/link flags
  • Index(es):
    • Date
    • Thread