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:22:04 +0000
-L/usr/local/Cellar/curl/7.78.0/lib -lcurl
I have done this. In fact I specifically used the full path to libcurl.a to avoid picking up the macOS version.
Intuitively, these extra dependencies seems wrong. If I build a static version of a lib, it should not depend on a shared lib.
________________________________
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:22:04 +0000
-L/usr/local/Cellar/curl/7.78.0/lib -lcurl
I have done this. In fact I specifically used the full path to libcurl.a to avoid picking up the macOS version.
Intuitively, these extra dependencies seems wrong. If I build a static version of a lib, it should not depend on a shared lib.
________________________________
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