The server fails to start:
Cannot load /home/stas/apache.org/mp2-pool/src/modules/perl/mod_perl.so into server: /home/stas/apache.org/mp2-pool/src/modules/perl/mod_perl.so: undefined symbol: boot_DynaLoader
This happens because
my $ldopts = ExtUtils::Embed::ldopts();
from Apache::Build doesn't get Dynaloader.a included. This in turn happens because something happens to catdir. In ExtUtils::Embed::ldopts, the line
$root = $MM->catdir(@ns);
passes "DynaLoader" as the only contents of @ns, but catdir receives some bogus object parameter: MY=HASH(0x9379394)
Here is the output from debuger:
DB<4> n ExtUtils::Embed::ldopts(/home/stas/perl/5.6.1/lib/5.6.1/ExtUtils/Embed.pm:188): 188: $root = $MM->catdir(@ns);
DB<4> p $sub DynaLoader
DB<5> p @ns DynaLoader
DB<6> s
File::Spec::Functions::CODE(0x81e9664)(/home/stas/perl/5.6.1/lib/5.6.1/File/Spec/Functions.pm:41):
41: *{$meth} = sub {&$sub('File::Spec', @_)};DB<6> p "@_" MY=HASH(0x9379394) DynaLoader
Someone messes with catdir, but I can't figure out where does this happen.
Randy, is it possible that some recent win32 changes have caused that? I see that problem on linux, but is it possible that some catdir override has happened?
The standalone ldopts works just fine:
% perl-5.6.1 -MExtUtils::Embed -e ldopts
-rdynamic -Wl,-rpath,/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE -L/usr/local/lib /home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/auto/DynaLoader/DynaLoader.a -L/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil
so something happens during 'perl Makefile.PL' that breaks catdir I believe.
It's strange that it happens only to 5.6.x versions of perl.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
