From owner-freebsd-questions Thu Mar 30 3: 3:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from queasy.outpost.co.nz (outpost2.inspire.net.nz [203.96.157.26]) by hub.freebsd.org (Postfix) with SMTP id 4077537B778 for ; Thu, 30 Mar 2000 03:03:47 -0800 (PST) (envelope-from crh@outpost.co.nz) Received: (qmail 9338 invoked from network); 30 Mar 2000 11:03:45 -0000 Received: from erstumper.outpost.co.nz (HELO outpost.co.nz) (192.168.1.7) by outpost2.inspire.net.nz with SMTP; 30 Mar 2000 11:03:45 -0000 Message-ID: <38E33558.94C1E2FA@outpost.co.nz> Date: Thu, 30 Mar 2000 23:07:04 +1200 From: Craig Harding Organization: Outpost Digital Media Ltd X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Problems with Apache, mod_perl, and DBI References: <20000330104053.9132.qmail@outpost.co.nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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