• 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
newbie q: including third-party dylib in app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie q: including third-party dylib in app


  • Subject: newbie q: including third-party dylib in app
  • From: Jochen Laubrock <email@hidden>
  • Date: Fri, 28 Feb 2003 11:37:56 +0100

Hi,
this must be an old question, in fact I have seen it asked on this and other lists' archives, however I did not find a definite answer.

I'd like to ship my application that calls a dynamic library from a third-party
provider. How can I configure my cocoa app built with project builder to make dyld link my.app/Contents/Framework/lib3rdparty.dylib when my.app is launched? Since it is unlikely that lib3rdparty.dylib will be used by other apps, it does not seem to make sense to install it into one of the system-wide search paths.
I don't have access to the library sources, so I don't see how I can set the library install path to "executable_path/../Frameworks"...

Everything works fine (a) if I run my.app from PB, and (b) if I setenv DYLD_LIBRARY_PATH and open my.app from the shell. So probably I could create a launcher application that first sets DYLD_LIBRARY_PATH and then launches my.app. However I guess there must be a nicer solution?

Thanks in advance,
jochen
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: PBI: tear-off tab items?
  • Next by Date: Re: Cocoa/Java - NSCoding woes
  • Previous by thread: Re: Cocoa/Java - NSCoding woes
  • Next by thread: Splitting A QuickTime Movie Into N Equal Parts?
  • Index(es):
    • Date
    • Thread