[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] postgresql and ModPerl



Hi all,

can someone please help me with this problem. it seems very simple but
believe me it isn't!

On my RaQ4 i have an installation of postgresql running. i can query the
database and retrieve records using perl scripts from the shell but as soon
as i try to try to interface via the web ie. cgi scripts, i get a error
message. when i look at the apache error log i get the ffg error :

install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .)
at (eval 7) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed,
or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Proxy, mysql

now this is usually solved by installing the correct DBD driver package for
postgresql. My question is WHERE THE HELL IS THAT PACKAGE ??

any help would be greatly appreciated....thanks

Pravit Lochan