2014-11-17 138 views
0

我想在我的Windows服务器上安装Bugzilla。我使用的是草莓Perl & PostgreSQL。但是当我运行网站时,出现如下错误:当我尝试在Windows服务器上安装Bugzilla时出错

Software error: 
'Pg' is not a valid choice for $db_driver in localconfig: Can't load 'C:/Strawberry/perl/vendor/lib/auto/DBD/Pg/Pg.xs.dll' for module DBD::Pg: load_file:The specified module could not be found at C:/Strawberry/perl/lib/DynaLoader.pm line 193. 
at Bugzilla/DB/Pg.pm line 30. 
Compilation failed in require at Bugzilla/DB/Pg.pm line 30. 
BEGIN failed--compilation aborted at Bugzilla/DB/Pg.pm line 30. 
Compilation failed in require at (eval 138) line 2. 


For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. 
[Mon Nov 17 16:34:41 2014] config.cgi: 'Pg' is not a valid choice for $db_driver in localconfig: Can't load 'C:/Strawberry/perl/vendor/lib/auto/DBD/Pg/Pg.xs.dll' for module DBD::Pg: load_file:The specified module could not be found at C:/Strawberry/perl/lib/DynaLoader.pm line 193. [Mon Nov 17 16:34:41 2014] config.cgi: at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: Compilation failed in require at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: BEGIN failed--compilation aborted at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: Compilation failed in require at (eval 138) line 2. 

我运行了checksetup.pl。所有模块都已安装。任何人都知道如何解决此问题?

回答

0

确保您的PATH包含Pg bin目录。

相关问题