Skip site navigation (1) Skip section navigation (2)

Getting "unknown host name ..." complied with static library ?

From: "Ahmad Munif" <munif(at)hotpop(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Getting "unknown host name ..." complied with static library ?
Date: 2002-08-01 05:18:22
Message-ID: 001401c2391a$e3117420$d101a8c0@intra.magna.co.id (view raw or flat)
Thread:
Lists: 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

Next:From: John L. TurnerDate: 2002-08-01 08:35:09
Subject: Re: PGACCESS Error Relative Path @ export table
Previous:From: Oliver ElphickDate: 2002-07-31 23:51:48
Subject: Re: PGACCESS Error Relative Path @ export table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group