Question about libpq++ - Mailing list pgsql-interfaces

From Alexey V. Meledin
Subject Question about libpq++
Date
Msg-id 6733.990127@pia.ru
Whole thread Raw
Responses Re: [INTERFACES] Question about libpq++  ("Randall W. Barrett" <rbarr@shadow.net>)
List 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



pgsql-interfaces by date:

Previous
From: Paulo Ricardo Sikorski
Date:
Subject: pgaccess troubles with crypt
Next
From: "Randall W. Barrett"
Date:
Subject: Re: [INTERFACES] Question about libpq++