Saturday, March 11, 2023

Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

Hello,

I wonder if anybody is running Bugzilla in httpd?

I have completed the setup and run the test scripts successfully, however
when trying to access it from the browser, I get below error:

'Pg' is not a valid choice for $db_driver in localconfig:
Can't load '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/DBD/Pg/Pg.so' for module DBD::Pg:
Cannot load specified object
at /usr/libdata/perl5/amd64-openbsd/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 201) line 1.If I run the Bugzilla index.cgi scripts manually with Perl, everything works fine and I get the initial HTML code generated.

I think the problem might be related to the chroot, and I am probably missing some dependency, any hints would be appreciated.

I am running OpenBSD 7.2

Thanks,
Werner
---https://www.dewrico.com

No comments:

Post a Comment