dynamic library search not finding lib
dynamic library search not finding lib
- Subject: dynamic library search not finding lib
- From: Ken Baer <email@hidden>
- Date: Thu, 7 Jul 2005 17:43:38 -0700
I have an application that ships with a few dynamic libraries that
load at runtime. They are added to my application target the Link
Binary with Libraries group. When I run my app, I get the following
error in my Run Log.
dyld: Library not loaded: /usr/local/lib/Plugin.dll/Contents/MacOS/
libPlugin.dylib
Referenced from: /Users/kenbaer/KenMac120_Tiger/build/Release/
Animation Master.app/Contents/MacOS/Animation Master
Reason: image not found
Now, if I copy my Plugin.dll to /usr/local/lib, it will run.
However, I want it to get it from the same directory as my
executable. I have other dlls that are in that directory that are
found and loaded, and the settings in the build are the same. There
has to be some setting that I'm missing. How do I tell the dyld to
look in my executable path?
_______________________________________________
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