• 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
Re: info.plist with DYLD_LIBRARY_PATH = ~/test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info.plist with DYLD_LIBRARY_PATH = ~/test


  • Subject: Re: info.plist with DYLD_LIBRARY_PATH = ~/test
  • From: Kurt Sutter <email@hidden>
  • Date: Sat, 2 Oct 2010 10:48:20 +0200

Ken

Yes, that is an option I have considered. But, if I understand this correctly, it would mean resolving some hundred symbols through dlsym and providing a glue function for each of them. Right?

(One other option I have just discovered is to place a symlink file in ~/lib, which seems to be in the search path of the dynamic library loader. Any thoughts about this?)

Kurt


On 2. Oct 2010, at 10:29, Ken Thomases wrote:

> On Oct 1, 2010, at 11:49 PM, Kurt Sutter wrote:
>
>> In our application, the user should be able to change the version of a library that the application is linked to.
>
> Don't link to the library/framework.  Dynamically load it (dlopen, dlsym, etc.), instead.  Granted, this is a pain in the neck compared to linking, but it reflects the dynamism that you want.
>
> Regards,
> Ken
>
>

_______________________________________________

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: info.plist with DYLD_LIBRARY_PATH = ~/test
      • From: Ken Thomases <email@hidden>
References: 
 >info.plist with DYLD_LIBRARY_PATH = ~/test (From: Kurt Sutter <email@hidden>)
 >Re: info.plist with DYLD_LIBRARY_PATH = ~/test (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: info.plist with DYLD_LIBRARY_PATH = ~/test
  • Next by Date: Re: App works in debugger, won't launch in Finder
  • Previous by thread: Re: info.plist with DYLD_LIBRARY_PATH = ~/test
  • Next by thread: Re: info.plist with DYLD_LIBRARY_PATH = ~/test
  • Index(es):
    • Date
    • Thread