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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Anmol Mishra via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 19 Aug 2021 09:26:36 +0000
So, here is an issue.
Linking to this causes errors - /usr/local/Cellar/curl/7.78.0/lib/libcurl.a
Using these flags allows for a build - -L/usr/local/Cellar/curl/7.78.0/lib -lcurl
The problem is that -lcurl is probably bringing in the default system lib. And that is not something I want.
________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
Sent: Thursday, 19 August 2021 9:19 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:
> That makes sense. Is there a list of dependencies somewhere ?
It depends entirely on your specific build.
"sh curl-config --libs" should list them after a build.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-19
Date: Thu, 19 Aug 2021 09:26:36 +0000
So, here is an issue.
Linking to this causes errors - /usr/local/Cellar/curl/7.78.0/lib/libcurl.a
Using these flags allows for a build - -L/usr/local/Cellar/curl/7.78.0/lib -lcurl
The problem is that -lcurl is probably bringing in the default system lib. And that is not something I want.
________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
Sent: Thursday, 19 August 2021 9:19 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:
> That makes sense. Is there a list of dependencies somewhere ?
It depends entirely on your specific build.
"sh curl-config --libs" should list them after a build.
-- / 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