From owner-freebsd-questions Thu Jun 21 22:20:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id DABB737B403 for ; Thu, 21 Jun 2001 22:20:11 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id XAA17915 for ; Thu, 21 Jun 2001 23:20:11 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Thu, 21 Jun 2001 23:20:11 -0600 (CST) From: Ryan Thompson To: freebsd-questions@freebsd.org Subject: Mysql module in Perl refuses to load Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: 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 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