On Saturday, December 15, 2001, at 03:04 PM, Tom Perdue wrote:
> I am trying to access my database with db_browser but keep > getting the following error: > DBD::Pg initialization failed: Can't locate object method > "driver" via package DBD::Pg > (Perhaps you forgot to load "DBD::Pg"?) at path/DBI.pm line 536. > > I've searched my system for Pg.pm and I do have it loaded. Any > recommendations?? Actually there are 2 different Pg.pm: - Pg.pm is a non-DBI Perl interface to Postgres - DBD/Pg.pm is a DBI Perl interface to Postgres try this: perl -MDBD::Pg -e 'print $DBD::Pg::VERSION' if that does not return a version number, then you do not have DBD::Pg, but instead plain old Pg.pm. in which case it is advised to download DBD::Pg from http://kobesearch.cpan.org > > Thanks, > Tom >
