Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Warnings installing XML::CanonicalizeXML (Re: I am getting an error ...)

by Anonymous Monk
on Dec 21, 2022 at 04:52 UTC ( [id://11149005]=note: print w/replies, xml ) Need Help??


in reply to Warnings installing XML::CanonicalizeXML (Re: I am getting an error ...)
in thread XML::CanonicalizeXML install issue

output for xml2-config --libs: -lxml2 -lz -lm -ldl

output for xml2-config --cflags: -lxml2 -lz -lm -ldl

after installing libxml2, we have execute XML-CanonicalizeXML-0.10 we are getting an error like this:

MakeMaker (v6.68) Potential libraries are '-lxml2 -lz -lm -ldl': xml2 not found in /usr/local/lib64 '-lxml2' found at /lib64/libxml2.so.2.9.1 z not found in /usr/local/lib64 '-lz' found at /lib64/libz.so.1.2.7 m not found in /usr/local/lib64 '-lm' found at /lib64/libm.so.6 dl not found in /usr/local/lib64 '-ldl' found at /lib64/libdl.so.2 Warning (non-fatal): Target 'dynamic' depends on targets in skipped se +ction 'dynamic_lib' Warning (non-fatal): Target 'static' depends on targets in skipped sec +tion 'static_lib'

Replies are listed 'Best First'.
Re^2: Warnings installing XML::CanonicalizeXML
by hippo (Bishop) on Dec 21, 2022 at 08:34 UTC
    output for xml2-config --cflags: -lxml2 -lz -lm -ldl

    That suggests to me that you have not installed the headers.


    🦛

      how do i install the headers?

        Depending on the OS sudo apt install libxml2-dev or libxml2-devel.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-03-28 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found