Wednesday, February 28, 2007

mod_perl : DBI.so/GD.so can't be loaded

mod_perl can not load modules like DBI.so or GD.so ? The reason this happens is that the perl version with which you compiled mod_perl may not be the same that you are using currently. Whenever you upgrade perl, you have to recompile mod-perl and may be re-install these modules. That may solve this problem.

If you are using Apache2, you are lucky in the sense that you won't have to compile apache with mod_perl. Just re-build perl and install it and then build mod_perl and install.