pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ahmad Munif <munif@hotpop.com>
To: pgsql-interfaces@postgresql.org
Subject: Getting "unknown host name ..." complied with static library ?
Date: Thu, 1 Aug 2002 12:18:22 +0700
Message-ID: <001401c2391a$e3117420$d101a8c0@intra.magna.co.id> (raw)

i'm using MingW (windows) to compile libpq program.
if i used dynamic library (-lpqdll), the program can be
compiled and running well (i can access the database).
but, if i used static library (-lpq), 
the program can be compiled, but can't access the database.
the error message is "unknown host name: 192.168.1.1".

What's wrong and how to handle it ?

thanks





Message-ID: <001401c2391a$e3117420$d101a8c0@intra.magna.co.id>
Permalink:  ../001401c2391a$e3117420$d101a8c0@intra.magna.co.id/
Also on:    postgresql.org/message-id/001401c2391a$e3117420$d101a8c0@intra.magna.co.id

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: munif@hotpop.com
  Subject: Re: Getting "unknown host name ..." complied with static library ?
  In-Reply-To: <001401c2391a$e3117420$d101a8c0@intra.magna.co.id>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox