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

having problem connecting to postgreSQL v7.5.

From: Adrian Chew <togusan(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: having problem connecting to postgreSQL v7.5.
Date: 2004-09-13 08:55:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Hi, I'm having problems trying to connect to the postgresql 7.5 using libpg. I'm developing on the windows platform and using visual c++ 6.0 compiler. I've set the parameters for library path to :

C:\program files\postgresql\7.5\lib

and the include path to:

C:\program files\postgresql\7.5\include

The file "libpq.dll" has been included to the library modules. Everytime I tried to connect to my sample program I get an error

C:\program files\postgresql\7.5\lib\libpq.dll : fatal error LNK1136: invalid or corrupt file.

Could anyone please help. thanks.


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

pgsql-interfaces by date

Next:From: =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=Date: 2004-09-13 21:16:08
Subject: [PATCH] add notice processor to DBD::Pg
Previous:From: Bruce MomjianDate: 2004-09-10 23:58:14
Subject: Re: Adding null values to arrays

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