SSL Support in libmicrohttpd 0.4.6 (Ubuntu 12.04 LTS)

Asked by Peter

I have a question about a package you seem to have packaged. It is
libmicrohttpd 0.4.6-1 (

In short: Does this version have SSL support compiled in? How can I
check that?

In long:
I try to build a library which uses the SSL support of libmicrohttpd. It
works very fine under current Debian Wheezy and Jessie, which use more
recent versions.

Under Ubuntu I have troubles starting a MHD_Daemon with the exact same code:

So my question is: Does libmicrohttpd 0.4.6 in Ubuntu 12.04 have SSL
support? If I build the package manually on my dev machine running 12.04
using apt-get source and debuild, SSL support works fine.

Question information

English Edit question
Ubuntu libmicrohttpd Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

The changelog may have it

Revision history for this message
Peter (psk-q) said :

Apparently it does not. Because the required dependencies for that (libgcrypt and libgnutls) are not listed as dependencies here. Is there a certain reason for that?

Revision history for this message
Manfred Hampl (m-hampl) said :

It might me that the version that was current at the publication date of precise, and that is contained in precise (0.4.6) did not have SSL support, but the newer versions (0.9.x) delivered with trusty and newer Ubuntu releases, do have these features.

You could try updating to a higher version provided in a PPA, e.g. or

If you deem the improvements of that higher version important enough, you can also request an official backport of the 0.9.x version to precise by creating a bug report for that.

Revision history for this message
Peter (psk-q) said :

Thank you for your answer.

The upstream version 0.4.6 comes with SSL support as long as libgnutls and libgcrypt are found. So basically what is missing here are build-dependencies (libgnutls-dev, libgcrypt11-dev) in the source package and package-dependencies (libgnutls28, libgcrypt11) in the resulting binary package.

Would ubuntu accept a patch to the source package in 12.04? Since it changes dependencies? Or would it be better to backport?

Revision history for this message
Best Manfred Hampl (m-hampl) said :

Are you sure that it makes sense to patch the 0.4.6 version to activate SSL support, if there is a 0.9.x version available?
I would try going for a backport of the 0.9 version.

Revision history for this message
Peter (psk-q) said :

Thanks Manfred Hampl, that solved my question.