Compiling gnutls 3.0.5 on x86_64 in 32bit mode

Simon Josefsson simon at
Sun Nov 13 12:37:05 CET 2011

"Hoyt, David" <hoyt6 at> writes:

>> If I add --host=i686 to ./configure it compiles fine, but only
> builds the static library and not the shared one (config.log [3])
> although I use --disable-static.
> Libtool is finicky and at least in my configuration, it does not seem
> to recognize that ws2_32 (the winsock2 library) is in the library path
> and it thinks it cannot resolve all the symbols. Passing
> "lt_cv_deplibs_check_method=pass_all" to configure tells libtool to
> ignore those errors and forge on ahead. The command would look like:
> lt_cv_deplibs_check_method=pass_all ./configure --host=i686 ...

I recall that issue as well, and I think it is resolved if you run a
recent libtool.  Which version are you using?  Try at least 2.2.10.


More information about the Gnutls-help mailing list