[boulder.pm] perl read .gz?
Robert L. Harris
Robert.L.Harris at rnd-consulting.com
Thu Jun 15 12:19:11 CDT 2000
I installed and build Compress::Zlib, after I installed the Zlib
package. I got this:
{1}:caroline:/home/harris/Rebuild>./CheckRebuild.pl -f rebuild.apr.gz -o april.out
ld.so.1: /local/bin/perl: fatal: relocation error: file /local/opt/perl/lib/site_perl/5.005/sun4-solaris/auto/Compress/Zlib/Zlib.so: symbol zlibVersion: referenced symbol not found
Killed
Thoughts?
Robert
Thus spake Walter Pienciak (walter at frii.com):
> On Thu, 8 Jun 2000, Robert L. Harris wrote:
>
> > Is there a perl module to let me read a .gz or .Z file as if it was
> > plain text? I'm currently doing a:
> >
> > open(INFILE, "gunzip -c file.gz |");
> > while(<INFILE>) {
> > #stuff
> > }
>
> Hi,
>
> Take a gander at Compress::Zlib
>
> Walter
:wq!
---------------------------------------------------------------------------
Robert L. Harris | Micros~1 :
Senior System Engineer | For when quality, reliability
at RnD Consulting | and security just aren't
\_ that important!
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
More information about the Boulder-pm
mailing list