Question about libpq++

From: "Alexey V(dot) Meledin" <cureman(at)pia(dot)ru>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Question about libpq++
Date: 1999-01-27 14:36:51
Message-ID: 6733.990127@pia.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I've installed pgsql 6.4.2
It includes libpq++
I've tried to play with it...
Simply
#include <stdlib.h>
#include <libpq++.h>
int main(void)
{
PgEnv a;
a.SetEnv(NULL,NULL,NULL,NULL,NULL);
return 0;
}

during compilation with "g++ -o pgsetenv pgsetenv.cpp
-I/usr/local/pgsql/include" I've got an error message:
/var/tmp/ccxg22111.o: Undefined symbol `___5PgEnv' referenced from text segment
....

What to do?

thanks,
Q

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Paulo Ricardo Sikorski 1999-01-27 14:43:02 pgaccess troubles with crypt
Previous Message Hiroshi Inoue 1999-01-27 10:08:44 Use Declare/Fetch option