Please use a more informative subject, these are all Perl questions....

Perl Mail User wrote:
Hello all Perl Gurus -

I have a question in regards to an error i receive from running a script in perl from a user on my system - the error is below - I do not get this error when I run it as root just as a user that needs to run this program.

Any Ideas.

~~~~~~ error ~~~~~~~~~

Time::HiRes object version 1.38 does not match $Time::HiRes::XS_VERSION 1.54 at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.
Compilation failed in require at /usr/lib/perl5/5.8.0/Razor2/Logger.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/Razor2/Logger.pm line 7.
Compilation failed in require at (eval 7) line 3.
        ...propagated at /usr/lib/perl5/5.8.0/base.pm line 64.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/Razor2/Client/Core.pm line 
23.
Compilation failed in require at (eval 3) line 3.
        ...propagated at /usr/lib/perl5/5.8.0/base.pm line 64.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/Razor2/Client/Agent.pm line 
18.
Compilation failed in require at /usr/bin/razor-report line 21.
BEGIN failed--compilation aborted at /usr/bin/razor-report line 21.

Spam Administrator(Bryan)


Are there multiple Time::HiRes installations on the system, with the root environment being setup different than the user environment? This could be caused by either a different path search order for the actual interpreter itself, or if the LD library paths are different (as it is trying to pull in a shared object) or if there is a PERL5LIB environment set differently so that a different version of the module is being found. That is where I would start looking.... Check your path, and confirm that perl -V matches for the two different users....


http://danconia.org


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to