cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: (no subject)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 28 Jan 2004 22:39:02 +0100 (CET)

On Tue, 27 Jan 2004, Callen, Yehuda wrote:

> I have compiled libcurl (version 7.10.8) as a static library under Linux
> (RHEL2.1).For some reason when i use the static library and call
> curl_easy_getinfo for curlinfo_content_type(to get the content type) i get a
> 43 error code. I use the function exactly the same as in the examples. Is
> there a certain way to compile the static library that I'm not aware of?

It sounds as if you're linking with a much older version of libcurl that
doesn't support that option (CURLINFO_CONTENT_TYPE).

Try calling curl_version() to see which version you did link with.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-30