perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Ferrency <a...@telerama.com>
Subject Re: DynaLoader problems, bigtime problems.
Date Thu, 23 Mar 2000 15:11:07 GMT
I've had this same problem on FreeBSD using mod_perl 1.21 and 1.21_03
with modules other than DBI.  It seems like several people on the list
have experienced this, but I haven't seen a good explanation of how to
fix it yet.  I'm going to test with 1.22 soon and see what happens.
See more details below...

On Wed, 22 Mar 2000, Doug MacEachern wrote:

> On Fri, 17 Mar 2000, Ken Miller wrote:
>
> > Has anyone experienced problems with DynaLoader with mod_perl?  I've been 
> > getting a lot of this lately, both under mod_perl and just running
> > plain perl:
> > 
> > Can't load '/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI/DBI.so' for 
> > module DBI: /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI/DBI.so: 
> > undefined symbol: XS_DBI__svdump at 
> 
> what happens if you run:
> 
> % nm /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI/DBI.so | grep svdump
> 
> should be something like this, if all is well:
> 000075f0 T XS_DBI__svdump

A complete error:

/usr/local/sbin/apachectl configtest
Syntax error on line 281 of /usr/local/etc/apache/apache.conf:
Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Storable/Storable.so' for
module Storable: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Storable/Storable.so:
Undefined symbol "PL_sv_undef" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at /usr/local/lib/perl5/site_perl/5.005/FOO/hairy.pm line 2
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/FOO/hairy.pm line
2.



The contents of hairy.pm:

use Storable;


Is the symbol in Storable.so?

moonpatrol# nm /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Storable/Storable.so
| grep PL_sv_undef 
         U PL_sv_undef

Yes.

With other modules that I have similar problems with (MD5), the
undefined symbol is in libperl.so instead of MD5.so.

I've tried a bunch of things, to no avail.  Considering so many people
have asked this same question recently, I'm beginning to think there
may be an actual problem, instead of just some confusion on my part.

Alan





Mime
View raw message