On Monday 30 May 2005 13:16, Craig Moynes wrote:
> I am using the File::Tail perl module.  When I try to run my script I
> get the following error message:
>
> Can't locate loadable object for module Time::HiRes in @INC (@INC
> contains: /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0
> /usr/opt/perl5/lib/site_perl/5.6.0/aix
> /usr/opt/perl5/lib/site_perl/5.6.0 /usr/opt/perl5/lib/site_perl .) at
> /usr/opt/perl5/lib/site_perl/5.6.0/File/Tail.pm line 21
> Compilation failed in require at
> /usr/opt/perl5/lib/site_perl/5.6.0/File/Tail.pm line 21.
>
> however Time/HiRes.pm is located in
> /usr/opt/perl5/lib/5.6.0/aix/Time/HiRes.pm, it is accessbile by my
> userid, and running a perldoc -m Time::HiRes does work.
>
> Anyone know of something that could fix this?

Do you have a PERL5LIB environment variable set?  
export PERL5LIB=/usr/opt/perl5/lib/5.6.0/aix

That may do the trick.

Dave

-- 
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