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.
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general