compiling libpq.lb into qsqlpsql.dll

From: justin <justin(at)emproshunts(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: compiling libpq.lb into qsqlpsql.dll
Date: 2009-01-27 17:57:20
Message-ID: 497F4B00.9040109@emproshunts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all.<br>
<br>
I have a problem and tech support at troll tech has been unable to help
me resolve.&nbsp;&nbsp; I am trying to compile libpq.lib from postgresql 8.3.5 <br>
into QT's version 4.4.3 qsqlpsql.dll. using Visual Studio 2008<br>
<br>
Built libpq.lib and libpq.dll with no problesm using nmake.<br>
<br>
Now comes time to build the qsqlpsql.dll following the way out of date
instructions.&nbsp; Got all paths for includes and libs taken care of.<br>
<br>
Now compiling from nmake get billionz link errors&nbsp;<span
style="font-family: Arial; color: rgb(0, 0, 0);"> LNK2019: unresolved
external symbol</span><br>
<br>
I then imported the pro and make files in Visual Studio project to
better figure out why it can't find external symbols <br>
<br>
Right off the bat Visual Studio reduces the number of external symbols
not found to 5 <br>
<br>
<span style="font-family: Arial; color: rgb(0, 0, 0);">1&gt;libpq.lib(fe-connect.obj)
: error LNK2019: unresolved external symbol
__imp__DeleteSecurityContext(at)4 referenced in function _closePGconn<br>
1&gt;libpq.lib(fe-connect.obj)
: error LNK2019: unresolved external symbol
__imp__FreeCredentialsHandle(at)4 referenced in function _closePGconn<br>
1&gt;libpq.lib(fe-auth.obj)
: error LNK2019: unresolved external symbol _FreeContextBuffer(at)4
referenced in function _pg_SSPI_continue<br>
1&gt;libpq.lib(fe-auth.obj)
: error LNK2019: unresolved external symbol
_InitializeSecurityContextA(at)48 referenced in function _pg_SSPI_continue<br>
1&gt;libpq.lib(fe-auth.obj)
: error LNK2019: unresolved external symbol
_AcquireCredentialsHandleA(at)36 referenced in function _pg_SSPI_startup<br>
<br>
Now i'm stuck and can't figure out the next step.&nbsp; my guess is i don't
have all the paths for include and libs set correctly.&nbsp; <br>
<br>
The idea here is get SSL built in qsqlpsql.dll which by default its not
enabled.&nbsp; <br>
<br>
But i wanted to start off just to get plain jane libpq to compile with
qsqlpsql.dll before i make sure libpq has SSL turned on. <br>
<br>
thanks<br>
<br>
</span>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 2.1 KB

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-01-27 17:58:47 Re: New 8.4 hot standby feature
Previous Message Gabi Julien 2009-01-27 17:53:55 New 8.4 hot standby feature