Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 23:07:04 +1200
From:      Craig Harding <crh@outpost.co.nz>
To:        questions@freebsd.org
Subject:   Problems with Apache, mod_perl, and DBI
Message-ID:  <38E33558.94C1E2FA@outpost.co.nz>
References:  <20000330104053.9132.qmail@outpost.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm stumped, and I'm hoping someone here who's familiar with perl and
mod_perl in particular can talk me through this in nice simple words of
few syllables.

I'm trying to install a cgi web-based calendar called prospector. It
uses the apache extension mod_perl to execute the perl cgi scripts, so I
went through the ports collection and installed all the various perl
modules required by mod_perl and mysql and prospector. Eventually I got
everything installed but whenever I try and run it I get the following
error every time (as reported in apache's error log):


[Thu Mar 30 22:30:06 2000] [notice] Apache/1.3.12 (FreeBSD)
mod_perl/1.21 PHP/3.0.15 configured -- resuming normal operations
[Thu Mar 30 22:30:24 2000] [error] Can't load
'/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBI.so' for
module DBI:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBI.so:
Undefined symbol "PL_dowarn" at /usr/libdata/perl/5.00503/DynaLoader.pm
line 169.

 at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm line 158
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm line 158.
BEGIN failed--compilation aborted at /usr/local/www/calendar/calendar
line 15.


I've been grepping through archives of the mod_perl mailing list, and
discovered that this is a FAQ answered in their documentation, which
simply explains it's due to a binary incompatibility and the solution is
to recompile out of date modules. Well, I've been recompiling everything
in site and nothing's worked.

I'm completely stumped. Anyone who's a mod_perl expert who can talk me
through this would earn my immediate adulation!

Cheers,
Craig.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38E33558.94C1E2FA>