Thread: Building libpq for Windows 64bit

Building libpq for Windows 64bit

From
David Patimer
Date:
Hi All,

I know that PostgreSQL versions 8.3.X are no longer supported but I’ll very
appreciate if one of you can help me regarding building libpq library for
Windows 64bit.
I’m trying to use Microsoft Visual Studio 2005 to build libpq and although
the compilation itself succeeded, I’m getting the below linker errors.
I've search for this problem in this mailing list and found it may be
related to time_t but the suggested patch wasn't helpful.

Have anyone encounter this before?

link.exe -lib @C:\Users\dudip\AppData\Local\Temp\nmEEF7.tmprc.exe /l 0x409 /fo".\Release\libpq.res" libpq.rclink.exe
@C:\Users\dudip\AppData\Local\Temp\nmEF27.tmp
libpqdll.def : error LNK2001: unresolved external symbol PQbackendPID
libpqdll.def : error LNK2001: unresolved external symbol PQbinaryTuples
libpqdll.def : error LNK2001: unresolved external symbol PQcancel
libpqdll.def : error LNK2001: unresolved external symbol PQclear
libpqdll.def : error LNK2001: unresolved external symbol PQclientEncoding
libpqdll.def : error LNK2001: unresolved external symbol PQcmdStatus
libpqdll.def : error LNK2001: unresolved external symbol PQcmdTuples
libpqdll.def : error LNK2001: unresolved external symbol PQconndefaults
libpqdll.def : error LNK2001: unresolved external symbol PQconnectPoll
libpqdll.def : error LNK2001: unresolved external symbol PQconnectStart
….
.\Release\libpqdll.lib : fatal error LNK1120: 140 unresolved externals


Thanks,
David





--
View this message in context: http://postgresql.1045698.n5.nabble.com/Building-libpq-for-Windows-64bit-tp5756572.html
Sent from the PostgreSQL - interfaces mailing list archive at Nabble.com.