libcurl安装

下载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

posted @ 2020-05-18 15:25  虾兵  阅读(553)  评论(0编辑  收藏  举报