[postgis-users] postgis socket name problem

Vincent De Groote vdg.encelade at gmail.com
Fri Apr 29 17:11:11 PDT 2011


Hello,

I'm installing postgresql 8.4.8 and postgis 1.5.2 on an ubuntu computer.
Everything is installed in a subdirectory of my home directory, using my
standard user id (I'm not using a postgres user id)

for postgresql, geos and proj, the configure / make / make check / make
install worked without problem
for postgis, the configure / make worked.

The make check target fails because the pgsql2shp program tries to
connect to the database using a unix socket named
'/var/run/postgresql/.s.PGSQL.5432', but the server uses a socket named
'/tmp/.s.PGSQL.5432'.

I cannot find where the socket name used by pgsql2shp comes
from.  /var/run/postgresql was never used as a parameter of configure
files:  all configure scripts were run with --prefix=<subdir of my home
dir>

Any idea ?

Thanks for your reply

Vincent De Groote

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110430/0571e876/attachment.html>


More information about the postgis-users mailing list