Search Postgresql Archives

compiling libpq.lb into qsqlpsql.dll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all.

I have a problem and tech support at troll tech has been unable to help me resolve.   I am trying to compile libpq.lib from postgresql 8.3.5
into QT's version 4.4.3 qsqlpsql.dll. using Visual Studio 2008

Built libpq.lib and libpq.dll with no problesm using nmake.

Now comes time to build the qsqlpsql.dll following the way out of date instructions.  Got all paths for includes and libs taken care of.

Now compiling from nmake get billionz link errors  LNK2019: unresolved external symbol

I then imported the pro and make files in Visual Studio project to better figure out why it can't find external symbols

Right off the bat Visual Studio reduces the number of external symbols not found to 5

1>libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol __imp__DeleteSecurityContext@4 referenced in function _closePGconn
1>libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol __imp__FreeCredentialsHandle@4 referenced in function _closePGconn
1>libpq.lib(fe-auth.obj) : error LNK2019: unresolved external symbol _FreeContextBuffer@4 referenced in function _pg_SSPI_continue
1>libpq.lib(fe-auth.obj) : error LNK2019: unresolved external symbol _InitializeSecurityContextA@48 referenced in function _pg_SSPI_continue
1>libpq.lib(fe-auth.obj) : error LNK2019: unresolved external symbol _AcquireCredentialsHandleA@36 referenced in function _pg_SSPI_startup

Now i'm stuck and can't figure out the next step.  my guess is i don't have all the paths for include and libs set correctly. 

The idea here is get SSL built in qsqlpsql.dll which by default its not enabled. 

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.

thanks


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux