Me again. Sorry. This looks good too: "Building libpq Programs": http://www.postgresql.org/docs/9.1/static/libpq-build.html But what do I need to install on B? Best regards. -- View this message in context: http://postgresql.nabble.com/Remote-PostgreSQL-database-C-C-program-Unix-Required-Libraries-tp5828704p5828705.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general