Re: dlopen error
Re: dlopen error
- Subject: Re: dlopen error
- From: Graham Cox <email@hidden>
- Date: Mon, 21 May 2012 15:43:09 +1000
OK, following that line, I checked again. My Target settings were overriding the Project build settings and there the minimum OS was 10.6. I've changed that to 10.5 and have asked the user to give it another try. I'm not sure why Xcode (4) inserts a whole extra level of settings when the first level is fine, then doesn't give you a way to remove the second level of settings....
Anyway, thanks for the hint. If that doesn't fix it, I'll be back!
--Graham
On 21/05/2012, at 2:46 PM, Ken Thomases wrote:
> 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