curl: unsupported protocol(https) in CentOS6 - related with jansson

I am following jansson tutorial below.

https://github.com/akheron/jansson/blob/master/doc/tutorial.rst#id2

while I code like tutorial, I faced a problem.

this jansson thing uses curl library, and its curl_easy_perform() method

returns 1.

And console printed like this, "Unsupported protocol".

I already saw a solution(below link) and I could not find any extra space like that.

cURL Error 1: Unsupported protocol: https

And now I do not have any clues of this problem.

If you have any good idea, please share with me =)

Answers


From the command line, run:

$ curl-config --protocols | grep HTTPS

If HTTPS is not printed, that is that the libcurl version your are linking to has not been built with SSL support.

In such a case, you must re-install it with SSL support turned on, e.g yum install libcurl-devel should do the trick. Re-verify and then re-build your sample code.


Need Your Help

How can I add external value to DataSource by Sql command?

asp.net sql sql-server sql-server-2005

I read my dropdownlost data from one of my tables on database . I want to add an external value ( Select ) to my dropdownlist ..

defaultview.sort ignoring the last row in the defaultview

vb.net sorting datatable dataview

I created a table, created a dataview, and sorted the dataview. I then populated the table with three rows of data and all was good. I then changed one of the fields (Hours) in one of the rows which

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.