• 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: Forcing Xcode to prefer a specific dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing Xcode to prefer a specific dylib


  • Subject: Re: Forcing Xcode to prefer a specific dylib
  • From: Jerry <email@hidden>
  • Date: Thu, 17 Apr 2008 15:43:00 +0100


On 17 Apr 2008, at 13:04, Jean-Daniel Dupas wrote:
Compile on 10.4… I don't understand why choosing SDK = 10.4 in the projet settings on Xcode 3 (or even on Xcode 2.5) is an hassle ?

I have the same problem, but we also need to use Core Text if it's available so we have to build on 10.5.


What did you try with install_name_tool ?

Changing the libcurl path from /usr/lib/libcurl.4.dylib to /usr/lib/ libcurl.3.dylib in the final product should work too.

install_name_tool -change /usr/lib/libcurl.4.dylib /usr/lib/libcurl. 3.dylib finalProduct

This doesn't work - it complains about the compatibility version being wrong at runtime.


My solution was to download the libcurl sources, build 'em, and link statically. That's a whole new world of pain, but it works. We have to do this for Windows anyway, so we already had the source.

Jerry

_______________________________________________
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: Forcing Xcode to prefer a specific dylib
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Forcing Xcode to prefer a specific dylib (From: Brad Peterson <email@hidden>)
 >Re: Forcing Xcode to prefer a specific dylib (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Forcing Xcode to prefer a specific dylib
  • Next by Date: Re: Forcing Xcode to prefer a specific dylib
  • Previous by thread: Re: Forcing Xcode to prefer a specific dylib
  • Next by thread: Re: Forcing Xcode to prefer a specific dylib
  • Index(es):
    • Date
    • Thread