From owner-freebsd-database Tue Feb 29 8:19: 2 2000 Delivered-To: freebsd-database@freebsd.org Received: from averroe.polito.it (averroe.polito.it [130.192.4.32]) by hub.freebsd.org (Postfix) with ESMTP id E18D437BB8C for ; Tue, 29 Feb 2000 08:18:58 -0800 (PST) (envelope-from tealdi@averroe.polito.it) Received: from demostene.averroe.polito.it (demostene.polito.it [130.192.4.73]) by averroe.polito.it (8.9.3/8.9.2) with ESMTP id RAA09292; Tue, 29 Feb 2000 17:18:15 +0100 (CET) (envelope-from tealdi@averroe.polito.it) Message-Id: <4.3.0.20000229170058.00b237c0@averroe.polito.it> X-Sender: tealdi@averroe.polito.it X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Tue, 29 Feb 2000 17:16:59 +0100 To: Martin Nilsson , Sergei Listvin From: Paolo Tealdi Subject: Re: mod_perl + DBI problem Cc: freebsd-database@FreeBSD.ORG In-Reply-To: <38BBC226.4169C1C5@filex.se> References: <20000229022804.A5011@tanigawa.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk 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