Re: Shared library & install names
Re: Shared library & install names
- Subject: Re: Shared library & install names
- From: Martin Costabel <email@hidden>
- Date: Sat, 27 Dec 2008 09:04:56 +0100
Terry Lambert wrote:
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.
For this kind of things, filebyproc.d is less overwhelming than dtruss.
--
Martin
_______________________________________________
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