Unable to get cpan module DBI to work with apache and mod_perl
I then updated my cpan modules for Perl 5.8.8 (ended up removing the 5.8.6 library as I had warnings of possible conflicts... putting it back didn't seem to make any difference in this issue).
So I started putting together my config for my web applications and I cannot for the life of me get it booted with using DBI successfully.
I keep getting this error:
[Mon Oct 29 12:04:39 2007] [error] Can't load '/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/DBI.bundle' for module DBI: dlopen(/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/DBI.bundle, 1): no suitable image found. Did find:\n\t/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/DBI.bundle: no matching architecture in universal wrapper at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 230.\n at /Library/Perl/5.8.8/darwin-thread-multi-2level/DBI.pm line 266\nBEGIN failed--compilation aborted at /Library/Perl/5.8.8/darwin-thread-multi-2level/DBI.pm line 266.\nCompilation failed in require at /Library/WebServer/Documents/timewarner acm/lib/ACMhandler.pm line 7.\nBEGIN failed--compilation aborted at /Library/WebServer/Documents/timewarner acm/lib/ACMhandler.pm line 7.\nCompilation failed in require at (eval 3) line 3.\n
To note:
1. I have successfully loaded and used the DBI module with a regular perl script
2. I have installed, uninstalled, made by hand, etc, etc the DBI module with no errors.
Any ideas? I've used previous versions of Mac OS X successfully for my web development, but I cannot get around this. Any ideas? Thoughts?
MacBook Pro 15", Mac OS X (10.5)