Re: Some quick questions
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