c - curl: unsupported protocol(https) in CentOS6 - related with jansson -
i following jansson tutorial below.
https://github.com/akheron/jansson/blob/master/doc/tutorial.rst#id2
while code tutorial, faced problem.
this jansson thing uses curl library, , curl_easy_perform() method
returns 1.
and console printed this, "unsupported protocol".
i saw solution(below link) , not find space that.
curl error 1: unsupported protocol: https
and not have clues of problem.
if have idea, please share me =)
from command line, run:
$ curl-config --protocols | grep https if https not printed, libcurl version linking has not been built ssl support.
in such case, must re-install ssl support turned on, e.g yum install libcurl-devel should trick. re-verify , re-build sample code.
Comments
Post a Comment