Date: Tue, 29 Feb 2000 17:16:59 +0100 From: Paolo Tealdi <tealdi@averroe.polito.it> To: Martin Nilsson <martin@filex.se>, Sergei Listvin <serg@tanigawa.spb.ru> Cc: freebsd-database@FreeBSD.ORG Subject: Re: mod_perl + DBI problem Message-ID: <4.3.0.20000229170058.00b237c0@averroe.polito.it> In-Reply-To: <38BBC226.4169C1C5@filex.se> References: <20000229022804.A5011@tanigawa.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
At 13.57 29/02/00 +0100, Martin Nilsson wrote: >Sergei Listvin wrote: > > > > mod_perl won't load DBI at startup. produces error message: > > > > Syntax error on line 591 of /usr/local/etc/apache/httpd.conf: > > 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. > >You are using a DSO mod_perl, right? > >It worked a couple of months ago but something have changed in FreeBSD >since then. The mod_perl DSO port is marked broken because of this, >see PR14924, and use p5-Apache instead. > >I changed to compile mod_perl into apache and it have worked for me since. > > /Martin Hello. i have the problem that also on my system (FBSD3.4+Apache+DSO mod_perl+DBI) (Fortunately i haven't upgraded the on-line system ). Anybody knows if somebody is working on that ? I think it's a system software problem, because i recompiled perl (cleaning the one in /usr/{bin,libdata}, recompiled apache and modperl (for this type of software in any case i prefer installing from source) and the problem still remain. I didn't tried to compile mod_perl embedded in apache .... i'll try. In any case i think that it's a "so" problem (read FBSD native :-) ). If the problem disappear when compiled embedded in apache i think that for some reason when system loads DBI.so object the run-time link can't resolve the PL_dowarn variable (in libperl.so). But, why exactly THAT variable ( :-(( ) My .002 cents Best regards, Paolo Tealdi Ing. Paolo Tealdi Library & News System Administrator Politecnico Torino Phone : +39-11-5646714 , FAX : +39-11-5646799 C.so D. degli Abruzzi, 24 - 10129 Torino - ITALY Email : tealdi@polito.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.0.20000229170058.00b237c0>