NOT solved: fail to launch due to improper linking :(
NOT solved: fail to launch due to improper linking :(
- Subject: NOT solved: fail to launch due to improper linking :(
- From: "David M. Cotter" <email@hidden>
- Date: Fri, 6 Nov 2009 14:21:21 -0800
I know that cross posting is frowned upon, but i think this also is related to frameworks, and it seems that nobody on the xcode list knows what to do. if anyone has any insight at all, or even a direction i could look in, i would be most grateful. free karaoke software to anyone who can solve this! ;)
Begin forwarded message: well i was totally wrong about the "solution". even tho i purposefully link against the 10.4u binary, some tool is STILL setting the "compatibility version" to 7, when i want it to be 5. even when i explicitly copy the 10.4 version into my bundle and link against it!!
otool "./my_exe" -v -l Load command 32 cmd LC_LOAD_DYLIB cmdsize 72 name @loader_path/../SharedSupport/libiconv.2.dylib (offset 24) <<< lib from 10.4 time stamp 2 Wed Dec 31 16:00:02 1969 current version 7.0.0 compatibility version 7.0.0 <<< wrong version????
so the question is: how do i set the "compatibility version" of this particular library to 5 ?
On Nov 6, 2009, at 12:04 AM, David M. Cotter wrote: the problem was easily corrected (update: NOT corrected) by dragging in the iconv lib from the SDK instead of from the OS (apple: it's a bug that your tools don't do that when i set them to "deployment 10.4") and sorry this was an xcode question (originally posted to carbon-dev) On Nov 5, 2009, at 4:55 PM, David M. Cotter wrote: I'm building on 10.6
base SDK is 10.5 (cuz i want to optionally use some new APIs)
deployment target is 10.4
but when i run on a 10.4 system, it fails to launch due to this:
libiconv.2.dylib
app requires version 7.0.0 or later but current version is 5.0.0
or something
anyway i know i can fix this with a post-build script that sets the min version of libiconv, but i just don't know what? anyone know?
|
_______________________________________________
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