• 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: Cross-development problem with curl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-development problem with curl


  • Subject: Re: Cross-development problem with curl
  • From: Jeffrey Johnson <email@hidden>
  • Date: Tue, 06 Jun 2006 17:00:34 -0500

On Jun 5, 2006, at 6:50 PM, Heath Raftery wrote:

On 06/06/2006, at 1:48 AM, Jeffrey Johnson wrote:

We have a Cocoa application that calls a single function from curl. We #import <curl/curl.h>, and we set OTHER_LDFLAGS to - lcurl. We also have some Tiger-specific code, so we set the SDK to 10.4u, and we need to support Panther, so we have the deployment target set to 10.3. The problem is that Tiger only has libcurl.3: libcurl and libcurl.2 are just symlinks to libcurl.3. Panther, on the other hand, doesn't have libcurl.3 but only libcurl.2. With the SDK set to 10.4u, the app won't launch on 10.3.9 because it's looking for libcurl.3. If we set the SDK to 10.3.9, we can get the app to run on Panther, but we have to get rid of the now-undefined Tiger methods and constants.

Is there any way to force it to wait until runtime to resolve the symlink? Or is there some other solution to the problem?

Just a suggestion: I link to a static version of libcurl I downloaded and compiled. It makes for a very difficult build - ensuring that the static version is used regardless of the SDK, but it eliminates run-time problems with that library.



Heath

Heath, thanks for the suggestions! That would work, though it seems like kind of a PITA for one function call.


-Jeff

_______________________________________________
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: 
 >Cross-development problem with curl (From: Jeffrey Johnson <email@hidden>)
 >Re: Cross-development problem with curl (From: Heath Raftery <email@hidden>)

  • Prev by Date: Re: no rule to process file
  • Next by Date: Re: name in menu bar (was no subject)
  • Previous by thread: Re: Cross-development problem with curl
  • Next by thread: Re: Cross-development problem with curl
  • Index(es):
    • Date
    • Thread