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.