Was installing wrong version of postgis