Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group