cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: double free or corruption error on post with libcurl

From: Lars Nilsson <chamaeleon_at_gmail.com>
Date: Wed, 4 May 2005 12:32:05 -0400

On 5/4/05, Jeremy Brown <jbrown_at_novell.com> wrote:
> Here is how I compile it.
>
> gcc example.c `curl-config --libs` -lpthread -o example
>
> And finally here is how I run it.
>
> ./example 2
>
> I really would like to use the libcurl library and hope to put some effort
> back into the project. But I won't have the ability to use it unless I can
> get past this bug.

Have you tried "gcc -D_REENTRANT example.c `curl-config --libs`
-lphtread -o example"?

Lars Nilsson
Received on 2005-05-04