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