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: "Peter O'Gorman" <email@hidden>
- Date: Thu, 20 Oct 2005 08:12:47 +0900
-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ1bS77iDAg3OZTLPAQIBxAP/TkWhcCYHYhYc6x9hRrju+LA4JJZSVSWK
2PdbQZNxlrvMfAdZyU0kzdlX1GUMvqNMXaMLN8GSoUtBCo9ih2D7XVwllv0zXdpI
RAvjCx6H5X3gYqMk3Q/n7KVCpEZNJHIS0mj21j8fkZ1CN7a0O6s3ezkGp/fwWrBc
gIG6+niRH2w=
=seFm
-----END PGP SIGNATURE-----
_______________________________________________
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