one more quick question - i've only had one version of perl (5.8.5) on this box
how would the module have compiled with a different version? also - is there any command i can type to see what version of perl the mod_perl was compiled with? a.r. On 11/10/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2005-11-10 at 09:59 -0500, Abul Rahman wrote: > > > > > > RedHat ES 4 > > > Apache 2.0.52 > > > and > > > Mod_Perl 1.99 > > Upgrade that, please. 2.0.2 is the current version. > > > > i have a very simple script (the contents are irrelevant but to say it > > > works) - when i add "use Time::HiRes" i get the following error in the > > > apache error log... > > > > > > =============================== > > > [Wed Nov 09 19:41:18 2005] [error] Can't load > > > '/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so' > > > for module Time::HiRes: > > > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so: > > > failed to map segment from shared object: Permission denied at > > > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.\n > > > at /var/www/cgi-bin/env.cgi line 11\nCompilation failed in require at > > > /var/www/cgi-bin/env.cgi line 11.\nBEGIN failed--compilation aborted > > > at /var/www/cgi-bin/env.cgi line 11.\n > > > =============================== > > Looks to me like you compiled mod_perl with a different perl than the > one you compiled this module with. They have to be the same one. > > - Perrin > >