cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Library version.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 21 Jul 2012 10:13:02 +0200

On Wed, Jul 18, 2012 at 12:45:13PM +0300, Slav wrote:
> Hello. I downloaded libcurl from http://curl.haxx.se/download/
> curl-7.26.0.tar.gz, built it with c-ares using both approaches (with symlink to
> ares sources and using already built ares) but curl_version_info(
> CURLVERSION_NOW )->version = "7.22.0", curl_version_info( CURLVERSION_NOW )->
> version_num = 0x71600 and (what is the most sad) curl_version_info(
> CURLVERSION_NOW )->ares = NULL.
> But LIBCURL_VERSION from curl/curlver.h is defined as "7.26.0".
> Why is it so?

You're probably dynamically linking against an old libcurl.so.4 lying
around on the system instead of the new one you just compiled. "ldd
./curl" should show you what libraries are being used (on Linux,
anyway).

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-21