On Mon, Jun 28, 2010 at 9:12 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:
> On Jun 28, 2010, at 5:52 PM, Graham Cox <graham....@bigpond.com> wrote:
>
>> Isn't there a way to link against the "latest", whatever it is? Since 
>> there's a symlink for that, at least there's an access point in the file 
>> system. I realise that it still has to resolve the specific symbols I link 
>> against, but they are likely to exist in a newer version and at least I'm no 
>> worse off if it fails. Would it be a case of simply renaming the dylib stub 
>> to match the symlink?
>
> Unfortunately this is not a safe assumption. libxslt changed dramatically 
> between the versions Apple bundled with 10.5 and 10.6.

And even if all the symbols are still present, you're likely to have
changes to struct definitions and such between versions, which may
screw you over in extremely subtle and difficult-to-find ways. These
open-source projects don't tend to care much about binary
compatibility between releases. That's why your app gets pointed to a
version-specific file in the first place.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to