in reply to DBI error under mod_perl

This probably means that your mod_perl was compiled against a different perl binary than the one you have now. Recompile mod_perl.

Replies are listed 'Best First'.
Re^2: DBI error under mod_perl
by mboudreau (Acolyte) on Feb 07, 2009 at 04:16 UTC

    While running 'make test' on mod_perl, I got test failures accompanied by more error messages about the missing DBI/connect.al. So I reinstalled DBI from scratch, restarted Apache, and now everything works. I could have sworn there were no errors when I reinstalled DBI prior to recompiling mod_perl, but perhaps I missed something.

    What puzzles me is that, now that things are working, I still don't find 'connect.al' anywhere on my computer, though apparently Perl has stopped asking for it. What should I learn from that?

      Ok, I guess your DBI was not compiled against the same perl as mod_perl. This can happen if Apple updates the system perl. On a production system, you either have to avoid system updates that will update perl or just install a separate perl for your use and leave the system one to Apple.

      My guess is that DBI could not use the database driver you had in your connection string so attempted to use a generic driver.