Re: dlopen error
Re: dlopen error
- Subject: Re: dlopen error
- From: Ken Thomases <email@hidden>
- Date: Sun, 20 May 2012 23:46:57 -0500
On May 20, 2012, at 6:25 PM, Graham Cox wrote:
> A user is reporting an error when dlopen tries to load my plugin in iTunes. I've not seen it in my own testing.
>
> 5/20/12 12:29:57 AM iTunes[22591] Error loading <path/to/plugin>: dlopen(<path/to/plugin>, 262): no suitable image found. Did find:
> <path/to/plugin>: unknown required load command 0x80000022
>
> Googling on this error seems to suggest it's a dynamic linking error problem, where the plugin links to something not available on the OS. So looking at my build, I'm targetting a minimum OS of 10.5, using the 10.6 SDK, and it's a universal 32/64-bit build for Intel only.
It seems that the deployment target is not in effect during the link step.
The error is because the linker has used newer features in the binary than the 10.5 dynamic loader understands. One of the purposes of the deployment target setting is to tell it to not do that.
What is the link command?
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