cURL / Mailing Lists / curl-library / Single Mail

curl-library

Need Help with libcurl

From: Ledys Sanchez <ledys_at_multicominc.com>
Date: Tue, 21 Jan 2014 17:12:55 -0500

I downloaded curl-7.34.0 but I can not find the libcurl.a or curl.a I have
only seen a libcurl.pc.in which I do not know what it is. I need to know the
path of my .a file in order to write it in my compiling line. Also the
curl-config I found is a curl-config.in so my compiler do not see it and
gives me a command not found error to compile I am using:

g++ mysqlled.cpp -o mysqlled `mysql_config --cflags --libs` `curl-config
--libs` -I/home/lib/curl-7.34.0/include/curl -lcurl

 

Errors I get from compiler:

-bash: curl-config: command not found

/tmp/cc06f04L.o: In function `H30ResultToString()':

mysqlled.cpp:(.text+0x74): undefined reference to `curl_easy_init'

mysqlled.cpp:(.text+0x98): undefined reference to `curl_easy_setopt'

mysqlled.cpp:(.text+0xa8): undefined reference to `curl_easy_setopt'

mysqlled.cpp:(.text+0xbc): undefined reference to `curl_easy_setopt'

mysqlled.cpp:(.text+0xc4): undefined reference to `curl_easy_perform'

mysqlled.cpp:(.text+0xd4): undefined reference to `curl_easy_cleanup'

collect2: ld returned 1 exit status

CAN YOU HELP ME OUT PLEASE

 

 

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-21