Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B1660B5DC09 for ; Wed, 14 Sep 2011 02:23:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 77926-08 for ; Wed, 14 Sep 2011 05:23:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id DBD5FB5DBD8 for ; Wed, 14 Sep 2011 02:23:10 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p8E5N9Td050889 for ; Wed, 14 Sep 2011 05:23:09 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p8E5N9fJ050888; Wed, 14 Sep 2011 05:23:09 GMT (envelope-from www) Date: Wed, 14 Sep 2011 05:23:09 GMT Message-Id: <201109140523.p8E5N9fJ050888@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6203: Building libpq with Visual Studio 9.0 error From: "Steve" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201109/75 X-Sequence-Number: 31092 The following bug has been logged online: Bug reference: 6203 Logged by: Steve Email address: argonaut@yandex.ru PostgreSQL version: 9.1.0 Operating system: Windows XP SP3 x32 Description: Building libpq with Visual Studio 9.0 error Details: When I'm trying to build libpq client library with Visual Studio 9.0 (as described in documentation section 16.2, I mean executing "nmake /f win32.mak" in command string), linking step gives me this error: "link.exe @C:\DOCUME~1\Admin\LOCALS~1\Temp\nm36.tmp Creating library .\Release\libpqdll.lib and object .\Release\libpqdll.exp libpq.lib(chklocale.obj) : error LNK2019: unresolved external symbol _pgwin32_setlocale referenced in function _pg_get_encoding_from_locale .\Release\libpq.dll : fatal error LNK1120: 1 unresolved externals"