On 12/29/14 07:06, [email protected] wrote:
> Hello,
> 
> I'm trying to cross compile libmicrohttpd to be used on a set-top-box,
> but the configure script is unable to find gnutls.
> 
> Configure script output excerpt:
> 
> checking gnutls/gnutls.h usability... yes
> checking gnutls/gnutls.h presence... yes
> checking for gnutls/gnutls.h... yes
> checking for gnutls_priority_set in -lgnutls... no
> checking whether to support HTTPS... no (lacking libgnutls)
> 
> Gnutls is installed in /opt/opensource/target and PKG_CONFIG_PATH is set
>  to /opt/opensource/target/pkgconfig. I have also tried setting
> --with-gnutls=/opt/opensource/target and
> LDFLAGS="-L/opt/opensource/target/lib" but I get the same thing.
> 
> objdump says that libgnutls.so.28.41.3 has a gnutls_priority_set symbol.
> 
> Any idea why configure isn't finding gnutls?

Not immediately. You should inspect 'config.log' (grep for 'gnutls') to
see what configure executed and how/why the step failed.

Best regards,

Christian

Attachment: 0x48426C7E.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to