Steve Singer steve at ssinger.info
Tue Aug 22 20:19:18 PDT 2017
On Tue, 22 Aug 2017, S. Lui wrote:

> I will try to find my old VS2010 to test. I'm able to compile Slony 2.2.5 on postgres-9.3 with VS2012
> though. However, I really need postgres-9.6.
> May I ask how you got around the issue when you hit the error?
>

I didn't really work around it.
Since I was just checking to see if I introduced any compile errors with the 
slony 2.2.6 changes I stopped when I hit the error.

Ideally we can figure out what the issue is but I haven't yet been able to 
setup VC 2010 environment to check it out.



> 
> Regards.
> 
> 
> On Mon, Aug 21, 2017 at 9:55 PM, Steve Singer <steve at ssinger.info> wrote:
>       On Mon, 21 Aug 2017, S. Lui wrote:
> 
> 
>
>             Hello,
>             Is Slony 2.2.5 compilable with Postgres-9.6 64-bit binaries on Windows OS? I
>             successfully compiled with
>             Postgres-9.3 64-bit binaries on Windows OS.
>
>             With Postgres-9.6 64-bit binaries, it gives me the following error after typing
>             "nmake /f win32.mak
>             slon.exe" in the command prompt:
>
>             libpgport.lib(snprintf.obj) : error LNK2019: unresolved external symbol __imp__d
>             class referenced in function fmtfloat
>             slon.exe : fatal error LNK1120: 1 unresolved externals
>             NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
>             \VC\BIN\amd64\link.exe"' : return code '0x460'
>             Stop.
> 
>
>             I tried with Windows SDK 7.1, VS2012 x64 Native Tools Command Prompt and VS2013
>             x64 Native Tools Command
>             Prompt.
> 
> 
>
>       I THINK you need to be using the same version of visual studio that was used to build the
>       postgres you were using.
>
>       Perhaps it was VS2010?
> 
>
>       I've hit the same error at times. When I was doing the pre release testing for 2.2.6 I hit
>       that, but I didn't have the time to download + setup/try VS2010.
>
>       If you try different versions of visual studio please let the list know what works or
>       doesn't.
> 
> 
> 
> 
>
>             Thanks for the help.
> 
> 
> 
> 
>


More information about the Slony1-general mailing list