Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 00:20:17 -0800
From:      David Bushong <david@bushong.net>
To:        freebsd-stable@freebsd.org
Subject:   DynaLoader in latest stable
Message-ID:  <20000117002017.A51998@Bushong.NET>

next in thread | raw e-mail | index | archive | help
This is, at first glance, more of a Perl or Apache question, but I thought 
I'd give it a whack here anyway.  I run Apache with mod_perl (latest versions
of both), and have had it working fine without a hitch for quite a while.  

This evening, I made buildworld and installed, going from 3.3-stable to 
yesterday afternoon's 3.4-stable.  After rebooting, I noted many of my mod_perl
based pages had stopped working.  Doing some investigation, I noted that
these same perl scripts worked fine run by hand, but died when run through
mod_perl.  The unifying factor seems to be use of modules which require extra
.so's to be linked in, as I get the following errors:

[Mon Jan 17 00:12:55 2000] [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.

or

[Mon Jan 17 00:07:06 2000] [error] Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Image/Magick/Magick.so' for module Image::Magick: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Image/Magick/Magick.so: Undefined symbol "PL_sv_undef" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

Thinking maybe my mod_perl was out of sync with the latest perl (a newer 
5.00503?), I rebuilt both mod_perl and Apache, and all of the modules in
question, and still got the exact same error.  

Does anyone know of anything which changed recently in the FreeBSD standard
Perl distribution which might cause the DynaLoader to explode?  BTW, the 
referenced line of death in question is:

    my $libref = dl_load_file($file, $module->dl_load_flags) or
	    croak("Can't load '$file' for module $module: ".dl_error()."\n");

(where it actually loads the file)

Thanks,

--David Bushong


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000117002017.A51998>