dbTalk Databases Forums  

Building a static libpq version

comp.databases.postgresql comp.databases.postgresql


Discuss Building a static libpq version in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Julia Jacobson
 
Posts: n/a

Default Building a static libpq version - 04-01-2011 , 03:55 PM






Dear PostgreSQL community,

Compiling the libpq client library (PostgreSQL version 8.4.6) by running
"./configure --without-zlib" and "make all-static-lib" on Windows using
MinGW successfully produces a library called libpq.a (or libpq.lib).
However, applications linked to this library still require a dynamic
link library of libpq (like libpq.dll or something like libpq.dynlink)
to run. This can be confirmed by running a tool checking for
dependencies of the executable (like for example
http://www.dependencywalker.com/ ).
The libpq I compiled doesn't seem to be really static, but rather just
imports a dynamic version of libpq (like libpq.dll).
Could anybody help me carrying out further diagnosis on this issue and
finding the necessary steps for building a static version of libpq?

Thanks in advance,
Julia

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.