Re: Shared library & install names
Re: Shared library & install names
- Subject: Re: Shared library & install names
- From: Terry Lambert <email@hidden>
- Date: Fri, 26 Dec 2008 19:46:14 -0800
On Dec 26, 2008, at 7:09 PM, Ryan Govostes <email@hidden> wrote:
I discovered my misconception; I thought @loader_path would be the
path to etree.so, but in fact it is the path to its parent
directory. Things now seem to be working.
It would be nice if there was a DYLD_ debug variable to show where
it's looking for libraries, as this would have saved me a
considerable amount of time.
The dtruss command will tell you about attempts to look up and get
descriptors for shared objects. Alternately, you could write a script
that only prints pat resolution attempts, which would make the
failures to find things and where it's looking when it fails pretty
obvious.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden