in reply to Errors building XML::LibXML

If the library was updated at the same time on a Linux-ish system, have you run ldconfig (as root ...) since doing so? This certainly sounds like a mostly-bogus error in which the Perl code is simply not able to access the library properly.

Replies are listed 'Best First'.
Re^2: Errors building XML::LibXML
by atreyu (Sexton) on Feb 25, 2014 at 17:15 UTC
    that's not a bad idea. so i did this:
    # ldconfig -p > /tmp/aa # rm -f /etc/ld.so.cache # ldconfig # ldconfig -p > /tmp/bb # diff /tmp/aa /tmp/bb > libxml2.so (libc6,x86-64) => /usr/lib64/libxml2.so
    that got me excited...but to no avail. same errors as before.
      Go find something else that uses LibXML e.g. a test suite of some kind to determine if the library itself is running properly. And in any case, you're going to have to break-out of the padded cell of prove and run subtests individually to get to error-messages that are right now being suppressed. (As previously discussed on this thread.)
        Go find something else that uses LibXML e.g. a test suite of some kind to determine if the library itself is running properly.
        A good thought. I went ahead and compiled this simple program, which makes use of the libxml2 library. It compiled and ran just fine.
        you're going to have to break-out of the padded cell of prove and run subtests individually to get to error-messages that are right now being suppressed.
        Just so I know you aren't talking about something else - isn't that what I did when I responded to tye's suggestion ("perl -Mblib t/02parse.t")? I'm still digesting that output.