Re: info.plist with DYLD_LIBRARY_PATH = ~/test
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