cURL / Mailing Lists / curl-library / Single Mail


configure script does not see NSS libraries while cross-compiling

From: Kamil Dudka <>
Date: Mon, 13 Jul 2009 20:56:45 +0200

On Monday 13 of July 2009 17:19:06 Guenter wrote:
> seems to me that with cross compile this doesnt work out since then I
> would need to have a way to specify the path to the cross compilers
> since I have then two pkg-config: one for Linux, and one for MingW;
> at least for GnuTLS I've checked for libgnutls-config:
> svwe20:~ # which libgnutls-config && libgnutls-config --version &&
> libgnutls-config --libs
> /usr/bin/libgnutls-config
> 1.6.1
> -L/usr/lib -lgnutls -lgcrypt -lgpg-error
> svwe20:~ # /usr/x86_64-pc-mingw32/sys-root/mingw/bin/libgnutls-config
> --version && /usr/x86_64-pc-mingw32/sys-root/mingw/bin/libgnutls-config
> --libs
> 2.6.5
> -L/usr/x86_64-pc-mingw32/sys-root/mingw/lib -lgnutls
> -L/usr/x86_64-pc-mingw32/sys-root/mingw/lib -lgcrypt -lgpg-error -lws2_32
> where the second one is _not_ in search path.
> Currently I have no idea where even a pkg-config for the cross is; need
> to examine the installed packages to find this out.

I don't think pkg-config binary is the problem. It's more about the search
path for .pc files. Did you try to change the PKG_CONFIG_PATH environment
variable? Do you have the propper .pc files? Does their content reflect
the reality?

> will try to find out more details, and if you're interested in I post to
> you.

Sure. Please CC the mailing list on reply. There is nothing we need to keep
in secret :-)

Received on 2009-07-13