cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to compile libcurl with SSL support on Windows?

From: Jason Pump <jpump_at_mindspring.com>
Date: Thu, 27 Oct 2005 17:42:54 -0700

No, you have to add something like -l ws2_32.lib to your compile line.

Wei Weng wrote:

> Daniel Stenberg wrote:
>
>> On Thu, 27 Oct 2005, Wei Weng wrote:
>>
>>> libcurl.lib(telnet.obj) : error LNK2001: unresolved external symbol
>>> __imp__WSAStartup_at_8
>>> libcurl.lib(sendf.obj) : error LNK2001: unresolved external symbol
>>> __imp__send_at_16
>>> libcurl.lib(sendf.obj) : error LNK2001: unresolved external symbol
>>> __imp__recv_at_16
>>
>>
>>
>> That looks like symbols that you should get from the winsock lib and
>> I fail to see how that is libcurl's fault. Did you link with
>> winsock(2) properly?
>>
> But since I am compiling for the static library (libcurl.lib),
> shouldn't those symbols be already defined in the libcurl.lib?
>
> Thanks
>
>
> Wei
>
>
>
Received on 2005-10-28