• 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: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard


  • Subject: Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard
  • From: Eric Wing <email@hidden>
  • Date: Mon, 19 Sep 2011 18:07:23 -0700

On 9/19/11, Jens Alfke <email@hidden> wrote:
>
> On Sep 19, 2011, at 4:13 PM, Eric Wing wrote:
>
>>  If I try to
>> explicitly link against libedit.2.dylib or just libedit.dylib on my
>> Lion machine with the 10.7 SDK, it always resolves to libedit.3.dylib.
>
> Does this occur even if you use the + button in the Link Binary With
> Libraries section of the Build Phases editor? This lets you see all the
> different versions/symlinks and you should be able to pick the right one.
> Earlier, when you had to use a file chooser, it would resolve the symlink
> too early.
>

Yes, this happens with the + button and when I specified the specific
versions I wanted. In the end, it all resolved to libedit.3.dylib.

> If that doesn't work, the cleanest workaround I’ve found is to specify the
> link in your project settings instead of adding the library file to the
> project. Under “Other linker flags” add “-ledit” (that’s a lowercase L, not
> a 1).

Thanks. That worked. For some reason, I assumed that wouldn't work
since the symlinks kept getting resolved in the + button case.

Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
 _______________________________________________
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

  • Follow-Ups:
    • Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard
      • From: Eric Wing <email@hidden>
References: 
 >Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard (From: Eric Wing <email@hidden>)
 >Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard
  • Next by Date: Xcode 4.1 file encoding/line ending controls bug
  • Previous by thread: Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard
  • Next by thread: Re: Lion 10.7 SDK backwards compatibility problem with linking to libreadline.dylib for Snow Leopard
  • Index(es):
    • Date
    • Thread