• 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
Build setting for embedded dylib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build setting for embedded dylib?


  • Subject: Build setting for embedded dylib?
  • From: Graham Cox <email@hidden>
  • Date: Thu, 28 Feb 2013 13:53:39 +1100

Hi all,

I have a private dylib that my app links to. This dylib is copied into the app's bundle (at the moment into /Frameworks, this might be the wrong place), but at runtime this isn't found, as it appears to be searching in /usr/local/lib/.

What setting do I need to add to ensure that at runtime my app's executable searches in the right place for the dylib? I tried setting the Runpath Search Path to a @executable relative path, but that didn't work. I couldn't find the answer in the documentation.

--Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Build setting for embedded dylib?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: 2 icons showing in dock
  • Next by Date: Re: Build setting for embedded dylib?
  • Previous by thread: Re: Anyone able to get __crashreporter_info__ to work on iOS?
  • Next by thread: Re: Build setting for embedded dylib?
  • Index(es):
    • Date
    • Thread