curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Getting the version used to compile libcurl.so file

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 23 Oct 2018 09:57:00 +0200 (CEST)

On Tue, 23 Oct 2018, IoT Home via curl-library wrote:

> I believe the software installed is not using the OS libraries. Instead,
> it's using its own libcurl files which are part of the product lib
> directory.

Then compile this code snippet, link with the library and run:

#include <stdio.h>
#include <curl/curl.h>

int main(void)
{
   printf("version %s\n", curl_version());
   return 0;
}

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-10-23