- in order to access the template1 database as pgsql user, the environment needs the DISPLAY variable set to at least ":0" - pgaccess loads dynamically the libpgtcl.1, some symbols from another dynamic lib are needed as well -> libpq.so.1.0 Makefile (patch-af) modified (copied from the Linux clause), so that shared lib libpgtcl is created with proper loader flags.