BUG #6203: Building libpq with Visual Studio 9.0 error

From: "Steve" <argonaut(at)yandex(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6203: Building libpq with Visual Studio 9.0 error
Date: 2011-09-14 05:23:09
Message-ID: 201109140523.p8E5N9fJ050888@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6203
Logged by: Steve
Email address: argonaut(at)yandex(dot)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"

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Kellerer 2011-09-14 06:41:42 Re: Problem with the 9.1 one-click installer Windows7 64bit
Previous Message Craig Ringer 2011-09-14 04:20:53 Re: Problem with the 9.1 one-click installer Windows7 64bit