curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: libcurl.a linker errors on XCode

From: Anmol Mishra via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 19 Aug 2021 09:14:54 +0000

That makes sense. Is there a list of dependencies somewhere ?

________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
Sent: Thursday, 19 August 2021 9:10 AM
To: Anmol Mishra via curl-library <curl-library_at_cool.haxx.se>
Cc: Anmol Mishra <amish153_at_hotmail.com>
Subject: Re: libcurl.a linker errors on XCode

On Thu, 19 Aug 2021, Anmol Mishra via curl-library wrote:

> I built a homebrew libcurl in a custom dir. The project is linking against
> this custom lib. I am getting 200+ linker errors. As far as I know, I
> followed the FAQ. I'm missing something very basic.

It looks like you're building and using libcurl as a static library. Then you
need to provide all the dependency libraries manually at link time. OpenSSL,
libssh2, nghttp2 etc by the looks of it.

--
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-19