title: libpq with SSL on VC 2010
body: <p>I have question compiling libpq on windows (VS2010 32 and 64bit) with SSL support.
  I downloaded the latest source of
  <a href="http://www.postgresql.org/ftp/source/v9.2.2/" rel="nofollow noreferrer" title="postgres">postgres</a> and also the <a href="http://slproweb.com/products/Win32OpenSSL.html" rel="nofollow noreferrer">OpenSSL</a> Win64 v1.0.1c.
  I ran nmake in libpq folder:</p>
  <blockquote>
  <p>cd postgresql-9.2.2\interfaces\libpq</p>
  <p>nmake /f win32.mak CPU=AMD64 USE_SSL=1 SSL_INC=C:\OpenSSL-Win64\include SSL_LIB_PATH=C:\OpenSSL-Win64\lib</p>
  </blockquote>
  <p>Then the compile ends up, that he can not found bufferoverflowU.lib.
  Searching a bit i found out, that this lib is deployed with the windows SDK and since VS 2005 not needed anymore (see <a href="https://stackoverflow.com/questions/2242665/vista-win-7-sdk-bufferoverflowu-lib-linking-error">Vista / Win 7 SDK bufferoverflowu.lib linking error</a> ).
  So in libpq's make file (win32.mak:20) i commented out the line</p>
  <blockquote>
  <p>ADD_SECLIB=bufferoverflowU.lib</p>
  </blockquote>
  <p>and it compiles fine. I also didn't get any troubles testing this libpq with ssl, yet.</p>
  <p>Do I need to have a bad conscience droping bufferoverflowU.lib from the build or is it just because the makefile is not for VS 2010?
  (Btw: openssl has changed thier names of libs to *MD.lib respectively  *MT.lib in VC folder. The old named libs are in C:\OpenSSL-Win64\lib, one dir up)</p>
  <p>Can someone tell me if bufferoverflowU.lib is required in a VS2010 build?</p>
  <p>Cheers,
  550</p>