libpqxx
first install
PostgreSQL
to get libpq
download the source from
http://pqxx.org/development/libpqxx/
use
typical_build_procedure