cURL / Mailing Lists / curl-library / Single Mail


Re: RE: RE: RE: Linker errors when statically compiled linkinglibcurl+openssl to my project

From: Gisle Vanem <>
Date: Thu, 25 Aug 2011 23:49:13 +0200

"Steve Holme" <> wrote:

> I use Visual Studio (and have solution and project files for .NET 2003
> (v7.1), 2005 (v8.0), 2008 (v9.0) and 2010 (v10.0)) and have them configured
> to build against OpenSSL (as a DLL rather than statically) and to include

Visual Studio uses a 2 pass linker. gnu-ld does not. The OP may have to
reorder the libs in the link-command. -lws2_32 (missing htonl_at_4 etc.)
should come after all other libs referring to those functions.

List admin:
Received on 2011-08-25