Hi Ansgar,

Thanks for quick response and for helpful troubleshooting commands. 

On Thu, 24 Jan 2013 01:29:08 Ansgar Burchardt wrote:
> 
> What do
> 
>    perl -MCompress::Raw::Zlib -E 'say $INC{"Compress/Raw/Zlib.pm"}'

        /usr/local/lib/perl/5.14.2/Compress/Raw/Zlib.pm

I was surprised to see "/usr/local" there.
It turned out that I had forgotten symbolic link:

        /usr/local/lib --> /usr/lib

As soon as I removed it the above command returned expected

        /usr/lib/perl5/Compress/Raw/Zlib.pm

and everything returned back to normal.
I guess the question is why libio-compress-perl is sensitive to contents of 
/usr/local ?
Perhaps it is a bit unexpected...


>    perl -MCompress::Zlib -E 'say $INC{"Compress/Zlib.pm"}'


With symlink (/usr/local/lib --> /usr/lib):

        Compress::Raw::Zlib version 2.052 required--this is only version 2.033 
at /usr/share/perl5/Compress/Zlib.pm line 11.
        BEGIN failed--compilation aborted at /usr/share/perl5/Compress/Zlib.pm 
line 11.
        Compilation failed in require.
        BEGIN failed--compilation aborted.

After removing symlink (/usr/local/lib --> /usr/lib):

        /usr/share/perl5/Compress/Zlib.pm

> 
> and
> 
>    dpkg -l libio-compress-perl libcompress-raw-zlib-perl
> 
> say?

ii  libcompress-raw-zlib-perl     2.052-1             amd64               
low-level interface to zlib compression library
ii  libio-compress-perl           2.052-1             all                 
bundle of IO::Compress modules


-- 
All the best,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B

---

It is impossible to imagine Goethe or Beethoven being good at billiards
or golf.
        -- H. L. Mencken


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to