not able to compile a libcurl program in C
I am trying to run a libcurl program, but I am getting the following erro开发者_开发知识库r:
fatal error: curl/curl.h: No such file or directory
Can anyone give me step by step instructions to install libcurl on a linux machine. Thanks in advance.
I found this result on Google, but I'm using Fedora, and had to use this command:
sudo yum install libcurl-devel
Hopefully, this will help someone who is trying to do what I just did.
@ compile time linkit
gcc -Wall hellWeb.c -lcurl -o helloWeb
精彩评论