Date: Thu, 21 Jun 2001 23:26:23 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: freebsd-questions@freebsd.org Subject: Update: Mysql module in Perl refuses to load Message-ID: <Pine.BSF.4.21.0106212324170.46697-100000@ren.sasknow.com> In-Reply-To: <Pine.BSF.4.21.0106212313250.14515-100000@ren.sasknow.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I spoke too soon. This problem only occurs with scripts running under the upgraded mod_perl (which makes a bit more sense :-) What's with DynaLoader.pm? Mine is dated in Sept 2000. Do I have an outdated copy? Or is there some dependency I'm missing here? Thanks again, - Ryan Ryan Thompson wrote to freebsd-questions@freebsd.org: > > Hey everybody, > > Doing some testing here--from sources I compiled/installed Apache 1.3.20, > mod_perl 1.25 and php 4.0.5 (all as DSO), and Apache reports that all > modules are loaded. This was done over top of an Apache 1.3.9/mod_perl > 1.21/php 3.0.15 installation to the same prefix directory > (/usr/local/apache). That part appears to have worked fine--PHP4 and > mod_perl are so far working as expected. I compiled PHP --with-mysql > > However, during that process, I appear to have broken the Mysql module in > Perl. Any Perl CGI that uses Mysql dies and reports the following in the > apache error log: > > [Thu Jun 21 23:11:56 2001] [notice] SIGUSR1 received. Doing graceful > restart > [Thu Jun 21 23:11:58 2001] [notice] Apache/1.3.20 (Unix) PHP/4.0.5 > mod_perl/1.25 configured -- resuming normal operations > [Thu Jun 21 23:11:59 2001] [error] [client 207.195.92.134] File does not > exist: /www/data/none > [Thu Jun 21 23:12:03 2001] [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. > > > It's the missing PL_dowarn that looks to be the culprit. Can anybody help > me out, here? I tried a make deinstall/reinstall in > /usr/ports/databases/p5-Mysql, but that did not solve the problem. > > And, it should be said that Perl Mysql was working before the apache > recompile and upgrade. > > - Ryan > > -- Ryan Thompson <ryan@sasknow.com> Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America 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?Pine.BSF.4.21.0106212324170.46697-100000>