http://www.perlmonks.org?node_id=1045628


in reply to Re^3: Can't load LibXML.so for module XML::LibXML: libz.so.1: cannot open shared object file (64 32 bit dont mix)
in thread Can't load LibXML.so for module XML::LibXML: libz.so.1: cannot open shared object file

Hi Monks,

I had faced the similar issue on LibXSLT.dll with Windows machine. I had used Active perl. But downloading LibXSLT using ppm did not solve the error since it was not available.

Later i could solve this error by using http://www.bribes.org/perl/ppm/ where i could download the LibXML and LibXSLT.

I would like to know if the necessary binaries are available for Linux machines too. I tried installing citrus perl and ended with

ERROR:

error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory.... even if libperl.so is available.

if there is any way to make 32 bit work on 64 bit will help me a lot

Any suggestions would be greatful :)

Thanks & Regards

Replies are listed 'Best First'.
Re^5: 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 22, 2013 at 11:22 UTC
Re^5: 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 23, 2013 at 01:49 UTC

      Thank you so much for the reply. I had skipped relocate perl.When i did ../perl/bin/relocateperl the error was cleared.

        I wanted to install few modules so i used CPAN to install them. Most of the modules were successfully installd. Did /opt/citrusperl/perl/bin/cpan install XML::LibXSLT to install the module XML::LibXSLT.

        But this module is not installed successfully.

        ERROR:

        ......... /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 SHLOMIF/XML-LibXSLT-1.81.tar.gz make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
        Did i miss something to install? Looking forward for your reply