I wanna compile git with http/https supported. And I have
$ ls /usr/include/curl/
curlbuild.h curl.h curlrules.h curlver.h easy.h mprintf.h multi.h stdcheaders.h typecheck-gcc.h
$ ls /usr/lib/libcurl.*
/usr/lib/libcurl.a /usr/lib/libcurl.la /usr/lib/libcurl.so.3 /usr/lib/libcurl.so.3.0.0
But when I run with ./configure --with-curl
, it still notice
checking for curl_global_init in -lcurl... no
How to fix that?
ps: My environment could not use yum install curl-devel
, and I guess 'curl-devel' just offer the c header file and static lib?
You should be able to install curl-devel
, provided:
curl-devel
(which you are apparently)It will include /usr/lib64/libcurl.so
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With