/usr/lib/libpqxx.so is in libpqxx3-dev 1:3.1.1-0ubuntu4.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/libpqxx-3.1.so
/usr/lib/libpqxx-3.1.so