Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Errors building XML::LibXML

by Anonymous Monk
on Feb 25, 2014 at 16:57 UTC ( [id://1076158]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found