Hello,
you have to use switch -lpq
http://www.postgresql.org/docs/8.3/static/libpq-build.html
Regards
Pavel Stehule
On 12/02/2008, Shwe Yee Than <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> I´ve got a problem when trying to access Postgresql through C language. I've
> included "libpq-fe.h" as a h
Could you please tell me how to do so? Thanks.
Ben <[EMAIL PROTECTED]> wrote: Including the header is not enough you must
also link your binary against the library.
On Feb 11, 2008, at 9:52 PM, Shwe Yee Than wrote:
Hello,
I´ve got a problem when trying to access Postgresql through C langu
Including the header is not enough you must also link your binary
against the library.
On Feb 11, 2008, at 9:52 PM, Shwe Yee Than wrote:
Hello,
I´ve got a problem when trying to access Postgresql through C
language. I've included "libpq-fe.h" as a header file in the C
program.
When
Hello,
I´ve got a problem when trying to access Postgresql through C language. I've
included "libpq-fe.h" as a header file in the C program.
When I compile it, I got the following errors:
[EMAIL PROTECTED] src]$ gmake
alpha1.o(.text+0x297c6):/home/srb/SRB3_4_2/mySRB/src/alpha1.c:12726: undef