On 20 Sep 2002 at 9:04, P. M. Wright wrote: > Thanks for your persistence. We have dozens of scripts. None that call > the dbi work, and all that don't do. I don't think that woody per se is the > problem. I suspect that it is either the fact that we are running > PostgreSQL version 7.1, manually compiled, OR I need to install perl > modules in addition to CGI DBI and DBD::Pg, but I don't know what.
I don't think you need other packages if perl Makefile.PL didn't give you any warnings. Did you run make test when you installed these? I find it hard to believe that the tests worked yet your scripts fail. You say you manually compiled Postgres. Are the headers available on the system? Are they in a usual location or did you pass the location to make so that DBD::Pg could find them? DBD::Pg shouldn't be able to compile without these. > What I find interesting is that the error message indiactes that it > cannot find Pg.so in the location that the OLD version of Perl used, > even though it is there. But why would it even be looking there? Are you using a use lib statement somewhere? What is the output of 'perl - V'? HTH, William -- Lead Developer Knowmad Services Inc. || Internet Applications & Database Integration http://www.knowmad.com
