Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: XML::LibXML fails install on macOS Big Sur

by syphilis (Archbishop)
on Dec 04, 2020 at 23:24 UTC ( [id://11124675]=note: print w/replies, xml ) Need Help??


in reply to XML::LibXML fails install on macOS Big Sur

Symbol not found: _xmlFree

That's the killer right there.
LibXML.xs calls xmlFree(), expecting that function to be resolved by your libxml2 library, but it's not.

Either your libxml2 library does not contain that expected functionality (which I think is unlikely), or your libxml2 library is simply not being located and loaded at runtime.
I don't know exactly what would be required to fix this on your system.
I think that, in building XML::LibXML-2.0206, there are some pre-tests run to check that libxml2 is available - so it's a bit odd that this problem is not detected at the beginning of the build.
Perhaps those pre-build checks don't extend to verifying that the libxml2 dynamic library is going to be found when needed at runtime ... I don't know.

I did try to force the install, and it installed, but the perl script I'm trying to run still came up with the same error, so I don't think it was successful

Well ... it installed successfully ... but the underlying problem of the failure to resolve _xmlFree at runtime has not been addressed.

Cheers,
Rob
  • Comment on Re: XML::LibXML fails install on macOS Big Sur

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-16 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found