libcurl安装
Posted lvyunxiang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于libcurl安装的主要内容,如果未能解决你的问题,请参考以下文章