Re: dyld issues with library not in standard location
Re: dyld issues with library not in standard location
- Subject: Re: dyld issues with library not in standard location
- From: Graham Hemingway <email@hidden>
- Date: Wed, 19 Oct 2005 18:30:15 -0500
Peter,
Is using install_name_tool something I have to run after I
have compiled everything or is it something I can set up in XCode?
I am really hoping that there is someway I can do all of the configuration directly in XCode.
Thanks,
Graham
On 10/19/05, Peter O'Gorman <email@hidden> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Graham Hemingway wrote:
| Hello,
|
| dyld: Library not loaded: /usr/local/lib/liboctane.dylib
| Referenced from: /Users/joeschmoe/Documents /Octane/bin/octane
| Reason: image not found
|
| octane has exited due to signal 5 (SIGTRAP).
|
| To double check I ran otool -L on octane and it indeed is pointing to
| /usr/local/lib
|
| How can I ensure that octane points to the correct location for
| liboctane.dylib?
man 1 install_name_tool
If the shared library is going to be installed in a dir relative to the
application then you should use
@executable_path/../relative/path/to/lib.dylib as the install_name.
Peter
_______________________________________________
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