Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6017755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:10:29+00:00 2026-05-23T03:10:29+00:00

My application builds and runs fine on 10.6. I have Base SDK set to

  • 0

My application builds and runs fine on 10.6. I have Base SDK set to 10.6 and Mac OS X Deployment Target set to 10.5.

My application uses the system libcurl.dylib — instead of adding the dylib to the project, I just add -lcurl to the linker flags in build settings. (Though I have tried it both ways.)

When I launch the application on 10.5.8, I get the following error

Dyld Error Message: Library not loaded: /usr/lib/libcurl.4.dylib

Referenced from: /Applications/My Application.app/Contents/MacOS/MyApplication

Reason: Incompatible library version:

MyApplication requires version 6.0.0 or
later, but libcurl.4.dylib provides
version 5.0.0

Sure enough, if I otool -L the application’s binary, I get the following for libcurl:

/usr/lib/libcurl.4.dylib (compatibility version 6.0.0, current version 6.1.0)

Is there any way around this, or should I just statically link my own libcurl build?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:10:30+00:00Added an answer on May 23, 2026 at 3:10 am

    Have you tried setting the Base SDK to 10.5 as well?

    $ otool -L /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcurl.4.dylib
    /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcurl.4.dylib:
        /usr/lib/libcurl.4.dylib (compatibility version 6.0.0, current version 6.1.0)
        ...]
    $ otool -L /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.4.dylib
    /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.4.dylib:
        /usr/lib/libcurl.4.dylib (compatibility version 5.0.0, current version 5.0.0)
        [...]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I've got an application that builds and runs fine. I started playing with
I'm working on an application which builds and runs fine in Win32. However, in
I have a processing based Java application that runs fine in Eclipse but the
I'm using Visual C++ 6, and my application builds and runs fine in debug
I have build a web application that runs fine though Visual studio, but now
I have an .Net MVC application which runs fine if I use the build
My monodroid application builds and runs fine, but breakpoints are not being hit. This
I have an application that builds a left menu that is based on a
I have a fairly small solution that includes a WPF windows application. It builds
We have created a simple wix project for a basic windows application. Everything builds

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.