Re: Database connectivity using ECPG

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Jasbinder Bali" <jsbali(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database connectivity using ECPG
Date: 2006-07-13 17:30:05
Message-ID: b42b73150607131030g78cce11di298b2b8e4c9ea68f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/13/06, Jasbinder Bali <jsbali(at)gmail(dot)com> wrote:
> Hi,
>
> I'm using ECPG to connect to my postgres database. Doing it for the very
> first time in my life.
>
> In function `main':ecpg_test.c:(.text+0x5d): undefined
> reference to `ECPGconnect'

it looks like you are not linking to the ecpg library. you need to
build it and link to it i think. i don't know off the top of my head
if you can get ecpg library without building from source.

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John Purser 2006-07-13 17:39:05 Re: Database connectivity using ECPG
Previous Message Jasbinder Bali 2006-07-13 17:22:49 Database connectivity using ECPG