jes has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I want to upgrade perl from 5.6.1 to 5.16.0 on Linux Machine(32 bit). I could easily upgrade them (using perlbrew and CPAN).They work perfectly on Linux 32 bit machine.I don't want to disturb the system perl henceforth i used perbrew and copied the required modules in another path and they work fine. The problem i had encountered when i copied the the same on Linux x86_64. 64 bit did not support the 32 bit XML::LibXML module. I wanted to upgrade perl in such a way that it supports both the machines. Please suggest a solution for this error.

ERROR:

Can't load /opt/data/Linux2.X/lib/perl5/site/lib/i686-linux/auto/XML/LibXML/LibXML.so' for module XML::LibXML: libz.so.1: cannot open shared object file: No such file or directory at /opt/data/Linux2.X/lib/perl5/lib/i686-linux/DynaLoader.pm line 190.

Thanks in Advance

  • Comment on Can't load LibXML.so for module XML::LibXML: libz.so.1: cannot open shared object file

Replies are listed 'Best First'.
Re: Can't load LibXML.so for module XML::LibXML: libz.so.1: cannot open shared object file (64 32 bit dont mix)
by Anonymous Monk on Jul 18, 2013 at 07:16 UTC

      is this applicable for other platforms like Windows, Solaris, AIX, HP_UX etc??