Re: unknown required load command 0x80000022
Re: unknown required load command 0x80000022
- Subject: Re: unknown required load command 0x80000022
- From: Grant Limberg <email@hidden>
- Date: Mon, 26 Oct 2009 15:00:00 -0700
On Oct 26, 2009, at 2:39 PM, Peter O'Gorman wrote:
On 10/26/2009 04:28 PM, Grant Limberg wrote:
So as I'm digging deeper into this, it turns out that *NOTHING*
compiled
on my machine (10.6) with SCons is able to run on Mac OS 10.5.
Everything comes up with the 'unknown required load command
0x800000022'
error when loading dylibs. All of our projects are built with -
isysroot
/Developer/SDKs/MacOSX10.4u.sdk' and -mmacosx-version-min=10.4.
Adding
-no_compact_linkedit to the linker flags which Peter O'Gorman
suggested
has no effect on our projects, nor when linking/compiling mysql++,
which
is what started me down this path to begin with. Something is
definitely
screwy here, and simply setting the deployment target via -isysroot
and
-mmacosx-version-min is not solving the problem.
I wasn't actually suggesting that for you (-no_compact_linkedit),
that was meant for Kevin.
Anyway, please show a link line from your build logs, for mysql++ or
your own project.
Peter
--
Peter O'Gorman
http://pogma.com
It turns out that -mmacosx-version-min=10.4 was not being set for the
linker in our projects; only on the compiler. That seems to be what
was causing the issue. Today was the first I'd heard of having to use
this flag on the linker. All is well now. Thanks for the help!
Grant Limberg
email@hidden
http://www.cedrus.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden