in reply to Re^2: Compress::Raw::Zlib will not upgrade
in thread Compress::Raw::Zlib will not upgrade

Resolved, if not elegantly. The module seems to be installed in 2 places as sugggested, but the original was in a directory that had presidence in the lookup path hierarchy. The way i got round this was by changing an environementat variable

 export PERL5LIB=/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/

This seems to now work

bash-4.1$ perl use Compress::Raw::Zlib 2.037; exit

Is this the best way to do this, or sound I just manualy delete the modules from the other location ?

Replies are listed 'Best First'.
Re^4: Compress::Raw::Zlib will not upgrade
by Anonymous Monk on Aug 14, 2011 at 08:54 UTC

    Is this the best way to do this, or sound I just manualy delete the modules from the other location ?

    No, you should fix your Config, its messed up.

    Modules are supposed to get installed under

    perl -V:installsitearch -V:installsitelib ( /opt/openpkg/current/lib/perl/site_perl/5.12.1/sun4-solaris /opt/openpkg/current/lib/perl/site_perl/5.12.1 )

    and not

    perl -V:installarch -V:installlib (/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris /opt/openpkg/current/lib/perl/5.12.1)