curl / Mailing Lists / curl-users / 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: Pre-built 'dev' library ?

From: John Emmas via curl-users <curl-users_at_cool.haxx.se>
Date: Fri, 05 Feb 2021 15:55:30 +0000

On 05/02/2021 13:57, John Emmas via curl-users wrote:
> On 05/02/2021 10:20, Daniel Stenberg via curl-users wrote:
>>
>> The only binaries we provide from the project itself are the curl
>> (the tool) packages on https://curl.se/windows/ and they're linked
>> statically.
>>
>
> [...]
>
> Can I just check one thing... by "linked statically" do you mean
> they're static libs? Or are they DLL's - but DLL's which won't
> require me to also install libcrypto and libssl ?
>

Hmmm - there's something I'm not understanding here...

I revisited that web page and noticed it says that curl 7.75.0 is linked
statically to OpenSSL 1.1.1i, so I downloaded the 64-bit zip file -
BUT... when I run the Windows 'dumpbin' program it gives me this output:-

     Dump of file libcurl-x64.dll
     File Type: DLL

       Image has the following dependencies:
         libcrypto-1_1-x64.dll
         libssl-1_1-x64.dll
         ADVAPI32.dll
         CRYPT32.dll
         KERNEL32.dll
         msvcrt.dll
         Normaliz.dll
         USER32.dll
         WLDAP32.dll
         WS2_32.dll

In other words, 'libcrypto-1_1-x64.dll' and 'libssl-1_1-x64.dll' are
both still needed - i.e. they're linked dynamically - not statically :-(

The zip file contains a file called 'libcurl'a' (which looks like it
might be a static lib) but if I try to link against it I get lots of
missing symbols.

John


-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-02-05