cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: https.c

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 1 Mar 2007 01:22:28 -0600

On 3/1/07, Mark Pinto <markybob_at_gmail.com> wrote:
> I'm trying to compile
> http://curl.haxx.se/lxr/source/docs/examples/https.c exactly as is,
> with no modifications at all (learning libcurl). However, this fails
> and I cant figure out why. Any information/help would be very much
> appreciated.

You need to tell the linker to link with libcurl, try adding "-lcurl"
to the command line, or better yet:

gcc https.c -o https `pkg-config --libs libcurl`

 -Jeff
Received on 2007-03-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET