• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dynamic library search not finding lib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: dynamic library search not finding lib
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: undefined __throw
  • Next by Date: How to step through unit test bundle execution in Xcode 2.1?
  • Previous by thread: Re: Using gdb in Xcode
  • Next by thread: Re: dynamic library search not finding lib
  • Index(es):
    • Date
    • Thread