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

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -