http://fedora.lowlatency.de/review/libpqxx-2.5.4-2.src.rpm http://fedora.lowlatency.de/review/libpqxx.spec
$ pqxx-config --libs -L/usr/lib -lpqxx -L/usr/lib -R/usr/lib -lpq
The -R/usr/lib option here is a source of future trouble, as it sets an RPATH.
The -lpq means that in libpqxx-devel "Requires: postgresql-devel" is needed for libpq.so
-- Rex