• 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: Jens Alfke <email@hidden>
  • Date: Mon, 19 Sep 2011 16:37:07 -0700


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.

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).

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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>)

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