Re: Database connectivity using ECPG - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Database connectivity using ECPG
Date
Msg-id b42b73150607131030g78cce11di298b2b8e4c9ea68f@mail.gmail.com
Whole thread Raw
In response to Database connectivity using ECPG  ("Jasbinder Bali" <jsbali@gmail.com>)
List pgsql-general
On 7/13/06, Jasbinder Bali <jsbali@gmail.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

pgsql-general by date:

Previous
From: "Jasbinder Bali"
Date:
Subject: Database connectivity using ECPG
Next
From: John Purser
Date:
Subject: Re: Database connectivity using ECPG