pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexey V. Meledin <cureman@pia.ru>
To: pgsql-interfaces@postgresql.org
Subject: Question about libpq++
Date: Wed, 27 Jan 1999 17:36:51 +0300
Message-ID: <6733.990127@pia.ru> (raw)

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





view thread (3+ messages)  latest in thread

Message-ID: <6733.990127@pia.ru>
Permalink:  ../6733.990127@pia.ru/
Also on:    postgresql.org/message-id/6733.990127@pia.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: cureman@pia.ru
  Subject: Re: Question about libpq++
  In-Reply-To: <6733.990127@pia.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox