in reply to LibXSLT fails while running "make test"

Can't load '/opt/perl5/abc/XML-LibXSLT-1.81/blib/arch/auto/XML/LibXSLT +/LibXSLT.so' for module XML::LibXSLT: ld.so.1: perl: fatal: relocatio +n error: file /opt/perl5/abc/XML-LibXSLT-1.81/blib/arch/auto/XML/LibX +SLT/LibXSLT.so: symbol xsltInit: referenced symbol not found

This basically means that your version of the C libraries does not match what XML::LibXSLT expects. Forcing the install will only make things worse.

I suggest you look at the build process and whether it really works, and potentially install the XSLT libraries fresh.

Replies are listed 'Best First'.
Re^2: LibXSLT fails while running "make test"
by jes (Novice) on Aug 21, 2013 at 08:08 UTC

    Thank you for the reply

    That means I must install fresh libexslt and libz? If so, then where do I get the supporting libraries for Solaris?

      I don't know, but I would consult with my system administrator as to where they originally acquired the libraries from.

        I got this link when Googled. http://www.ibiblio.org/pub/packages/solaris/

        Installed it but I got the same error as before..

        I did pkgadd -d libxslt.1.1.28.i86pc.Solaris.10.pkg and the libraries are updated at /usr/local/lib and /usr/local/include.

        While building I did

         /opt/perl5/bin/perl Makefile.PL INC="-I/usr/local/include" LIBS="-L/usr/local/lib"

        Can you please suggest how to solve this?

        Thanks & Regards

      That means I must install fresh libexslt and libz

      Yes, and maybe libxslt and libxml (does XML::LibXML work?), and maybe more. And maybe compile them yourself, don't just install the packages. And make sure the same compiler is used that compiled perl.

        so far its looking like simple LD_LIBRARY_PATH problem, might be all that, but its probably not