Don,
Regarding psql, you were absolutly right about the environment variables (they are: PGDATABASE, PGHOST, PGPORT, ...) I should just have taken a look at the man page for psql, sorry. It even worked just copying the psql program and the libpq.so.xxx to web-box ensuring that both the web-box and PostgreSQL development box is both using libc6 !
Thanks,