码迷,mamicode.com
首页 > Web开发 > 详细

libcurl安装

时间:2020-05-18 16:36:58      阅读:312      评论:0      收藏:0      [点我收藏+]

标签:下载   config   lib64   include   cmak   system   code   inf   type   

下载libcurl   https://curl.haxx.se/latest.cgi?curl=zip  技术图片

 

 

 

解压

进入解压目录

mkdir build

cmake   ..

make -j 16

make install

库安装在/usr/local/lib64/libcurl.so

 

-- Installing: /usr/local/bin/curl-config
-- Installing: /usr/local/lib64/pkgconfig/libcurl.pc
-- Installing: /usr/local/include/curl
-- Installing: /usr/local/include/curl/typecheck-gcc.h
-- Installing: /usr/local/include/curl/system.h
-- Installing: /usr/local/include/curl/stdcheaders.h
-- Installing: /usr/local/include/curl/easy.h
-- Installing: /usr/local/include/curl/urlapi.h
-- Installing: /usr/local/include/curl/mprintf.h
-- Installing: /usr/local/include/curl/curl.h
-- Installing: /usr/local/include/curl/curlver.h
-- Installing: /usr/local/include/curl/multi.h

libcurl安装

标签:下载   config   lib64   include   cmak   system   code   inf   type   

原文地址:https://www.cnblogs.com/lvyunxiang/p/12910822.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!