Building libpq for Windows 64bit

From: David Patimer <dudip(at)checkpoint(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Building libpq for Windows 64bit
Date: 2013-05-23 08:17:47
Message-ID: 1369297067527-5756572.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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.tmp
rc.exe /l 0x409 /fo".\Release\libpq.res" libpq.rc
link.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.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Neeraj Rai 2013-05-23 11:53:44 - pgaql long value corrupted using htons
Previous Message Neeraj Rai 2013-05-22 23:55:03 Re: - pgaql long value corrupted using htons