Getting "unknown host name ..." complied with static library ? - Mailing list pgsql-interfaces

From Ahmad Munif
Subject Getting "unknown host name ..." complied with static library ?
Date
Msg-id 001401c2391a$e3117420$d101a8c0@intra.magna.co.id
Whole thread Raw
List pgsql-interfaces
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




pgsql-interfaces by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: PGACCESS Error Relative Path @ export table
Next
From: "John L. Turner"
Date:
Subject: Re: PGACCESS Error Relative Path @ export table