Re: [GENERAL] Using C API

2007-10-14 Thread Greg Smith
On Tue, 9 Oct 2007, [EMAIL PROTECTED] wrote: following are the rpms I have installed on a RHEL5 system. compat-postgresql-libs-4-2PGDG.rhel4 Yes I see the compat one and will install rhel5 if I find one. It has no bearing on what you were running into, and unless you're having a problem the

Re: [GENERAL] Using C API

2007-10-14 Thread Tom Lane
[EMAIL PROTECTED] writes: > I was trying this example program out of a well known postgresql book and > keep getting errors whenever I try to compile. > cc -g -I /usr/include -I /usr/include/pgsql -I /usr/include/pgsql/server > -c -o client1.o client1.c > cc -g client1.o -L /usr/lib -L /usr

Re: [GENERAL] Using C API

2007-10-14 Thread Lars Heidieker
On 10 Oct 2007, at 02:25, [EMAIL PROTECTED] wrote: I was trying this example program out of a well known postgresql book and keep getting errors whenever I try to compile. Error messages ##make client1 cc -g -I /usr/include -I /usr/include/pgsql -I /usr/include/pgsql/ server -c -o client