libpq++ how to

Kyle Waters unum at unum5.org
Mon Dec 17 10:13:10 MST 2007


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.

Kyle



More information about the PLUG mailing list