dyld issues with library not in standard location
dyld issues with library not in standard location
- Subject: dyld issues with library not in standard location
- From: Graham Hemingway <email@hidden>
- Date: Wed, 19 Oct 2005 18:05:18 -0500
Hello,
I am trying to write a simple little app that has two
components, octane and liboctane.dylib. My first project creates
liboctane.dylib (no problems here) and places it into the Octane/libs
directory. The second project makes reference to the first and
creates a runnable application named octane in the Octane/bin
directory. In the octane project I have an External Frameworks
and Librarys reference to liboctane.dylib. There is also one in
the Target - Link Binary With Library section. I also have the
octane project setup with Library Search Paths pointing to my libs
directory.
But when I run octane I get this error:
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?
Any help would be greatly appreciated.
Thank you,
Graham
_______________________________________________
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