• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: solved: fail to launch due to improper linking :)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: solved: fail to launch due to improper linking :)


  • Subject: Re: solved: fail to launch due to improper linking :)
  • From: "David M. Cotter" <email@hidden>
  • Date: Fri, 6 Nov 2009 12:03:40 -0800

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)
   time stamp 2 Wed Dec 31 16:00:02 1969
      current version 7.0.0
compatibility version 7.0.0

so the question is: how do i set the "compatibility version" of this particular library to 5 ?

On Nov 6, 2009, at 7:54 AM, Steve Christensen wrote:

Have you filed a bug report, then? Mentioning something on the mailing list will not generally get a bug fixed.


On Nov 6, 2009, at 12:04 AM, David M. Cotter wrote:

the problem was easily 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

References: 
 >solved: fail to launch due to improper linking :) (From: "David M. Cotter" <email@hidden>)
 >Re: solved: fail to launch due to improper linking :) (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: Multiple projects with the same code base.
  • Next by Date: NOT solved: fail to launch due to improper linking :(
  • Previous by thread: Re: solved: fail to launch due to improper linking :)
  • Next by thread: NOT solved: fail to launch due to improper linking :(
  • Index(es):
    • Date
    • Thread