Linking Tool to nested dylib: "Library not loaded…"
Linking Tool to nested dylib: "Library not loaded…"
- Subject: Linking Tool to nested dylib: "Library not loaded…"
- From: Jerry Krinock <email@hidden>
- Date: Mon, 24 Oct 2011 09:11:31 -0700
I've built a command-line tool whose sole purpose is to test a dylib I've written. My test tool is linked to the dylib, and the dylib itself is linked to some 3rd-party dylibs.
My command-line tool crashes on launch…
dyld: Library not loaded: @executable_path/libmozalloc.dylib
Referenced from: /Users/jk/Builds/Debug/TestTool
Reason: image not found
where libmozalloc.dylib is one of the four 3rd-party dylibs.
The size of my dylib product is 310 KB.
The size of test tool product is 13 KB.
What am I doing wrong?
Thanks,
Jerry
P.S. Just to be very clear, by "linked to", I mean that the linked-to library is listed in the "Linked Libraries" section of Target properties (Xcode 3).
_______________________________________________
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