Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 02:28:05 +0300
From:      Sergei Listvin <serg@tanigawa.spb.ru>
To:        freebsd-questions@freebsd.org, freebsd-database@freebsd.org
Subject:   mod_perl + DBI problem
Message-ID:  <20000229022804.A5011@tanigawa.spb.ru>

next in thread | raw e-mail | index | archive | help
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.

 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.

httpd.conf line 591 says:

PerlModule Apache::DBI Apache::Registry 

I tried to rebuild perl with -Xlinker --export-dynamic as
mod_perl_traps manpage advises, it doesn't seem to help.

-- 
Sergei Listvin


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?20000229022804.A5011>