"Octavian Rasnita" <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> I have recieved the following error when I tried to run a simple script that
> only downloads and prints a page. The script runs fine under Windows, but It
> give this error when running under Linux.
> Do you know which could be the cause for this error? Please tell me how can
> I solve it.
> 
> The error is:
> 
> Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
> /usr/lib/perl5/5.8.0/AutoLoader.pm line 158.
>  at
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Compress/Zlib.pm
> line 16

It looks like Compress::Zlib is not properly installed on the system.
LWP will try to load it if it is available.  I bet you get a similar
error with:

   perl -MCompress::Zlib -e1

To fix this situation either remove 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Compress/Zlib.pm
or reinstall Compress::Zlib.

--Gisle

Reply via email to