Can't load

Posted on 2011-05-04
Last Modified: 2012-08-14
Hi to all,

The library system (koha) I am using require XML::LibXSLT. While trying to compile koha and run “make test” I got following error:

#   Failed test 'use C4::RotatingCollections;'
#   at t/00-load.t line 32.
#     Tried to use 'C4::RotatingCollections'.
#     Error:  Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/XML/LibXSLT/' for module XML::LibXSLT: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/XML/LibXSLT/ undefined symbol: xsltRegisterLocalRVT at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/ line

Can anyone help with this?
Thanks you
Question by:uknet80
    LVL 12

    Accepted Solution

    This URL would help you to Debugging load library path issues.

    If you found that required package is not installed on your box and If you are using the RHEL 5 then you can know the package which containes the the dependent library file by executing the below given command.

    # rpm -q --redhatprovides

    you need rpmdb-redhat package to be installed on your system to use this option.


    Author Comment

    I get same error for

    Tried to use 'C4::Labels'.
    Tried to use 'C4::Circulation'

    do you think that is to do with dependacy, I am getting into a point were I don't know what to do???

    I did run following:
    $ perl -v
    This is perl, v5.8.8 built for x86_64-linux-thread-multi

    $ /sbin/ldconfig -v | grep libxslt

    $ xslt-config --libs
    -L/usr/lib64 -lxslt -lxml2 -lz -lm

    $ xslt-config --cflags

    I do really need help with this, i am not familiar with perl at all?
    LVL 12

    Assisted Solution

    Could you please provide us output of

    # cat /ect/redhat-release

    # ldd /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/XML/LibXSLT/

    Author Comment

    Red Hat Enterprise Linux Server release 5.4 (Tikanga) path is different from the one you sent me it is as follow

    [root@RHEL5-koha auto]# ldd /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/XML/LibXSLT/
   => /usr/lib64/ (0x00002b67fa77d000)
   => /usr/lib64/ (0x00002b67fa9b2000)
   => /usr/lib64/ (0x00002b67facef000)
   => /lib64/ (0x00002b67faf04000)
   => /usr/lib64/ (0x00002b67fb187000)
   => /usr/lib64/ (0x00002b67fb399000)
   => /usr/lib64/ (0x00002b67fb60c000)
   => /lib64/ (0x00002b67fb80f000)
   => /lib64/ (0x00002b67fba24000)
   => /usr/lib64/ (0x00002b67fbc3d000)
   => /lib64/ (0x00002b67fbe43000)
   => /lib64/ (0x00002b67fc138000)
   => /lib64/ (0x00002b67fc33d000)
   => /lib64/ (0x00002b67fc575000)
   => /lib64/ (0x00002b67fc778000)
   => /lib64/ (0x00002b67fc994000)
            /lib64/ (0x0000003ef1600000)

    LVL 38

    Assisted Solution

    How do you install "XML::LibXSLT" module for perl?
    # perl -MCPAN -e "install XML::LibXSLT"
    install rpm from rpmforge?

    Author Comment

    can't install from CPAN, as CPAN try to fetch XML::LibXSLT v1.70, and this version require libxslt 1.1.18 and higher on RHEL5 only 1.1.17, is available and can't be updated or removed as it has lots of dependancy, then I install rpm:



    Author Comment

    I have downloaded below packages and compiled it, this solve the problem thanks for everyone

    Author Closing Comment


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now