odd install problem with DBD::Pg
am 15.09.2007 02:13:25 von danielmcbreartyhi
just done a new install of DBD::Pg, on a fresh machine. Have been
through the usual steps ... :
- get it to compile
- set up a test db
- check that I can connect from the command line
- set DBI env variables
- make test
The problem I have is that there is a "no such file" error when
tryingto connect in t/01connect.t
The error says that it is looking for /var/run/.s.blahblah.3222 as a
socket name, and indeed this does not exist. What exists is the
similarly named /var/run/.s.blahblah.3223 and an associated lock file.
I've tried make clean, make ... also restarting postgres.
Everything is upto date modules from the last few days - this server
is only a few weeks old.
What can cause this, and what is the fix?
thanks
Daniel