libpq++ how to

Michael L Torrie torriem at
Mon Dec 17 10:31:32 MST 2007

Kyle Waters wrote:
> I'm trying to use libpq++ and I have it installed on a Debian box(yeah) 
> and a Fedora box.  I'm trying to compile the examples that come with 
> Debian and I get the following error:
> test001.cxx:(.text+0x1aa): undefined reference to 
> `pqxx::connection_base::protocol_version() const'
> on both machines.  I haven't ever done database stuff with c++ so I'm 
> probably missing something simple.  If someone can point me in the right 
> direction for some beginning documentation or tell me what's wrong, I'd 
> appreciate it.

Until you provide more information, I doubt anyone can give you any
constructive advice.

At least you're getting consistent errors!

> Kyle

Michael Torrie
Assistant CSR, System Administrator
Chemistry and Biochemistry Department
Brigham Young University
Provo, UT 84602

More information about the PLUG mailing list