in reply to XML::CanonicalizeXML install issue

Have you installed libxml2 and the headers?

What is the output of xml2-config --libs; xml2-config --cflags?

There is a reasonably high success rate installing this module on Linux so you should be able to get there in the end.


🦛

  • Comment on Warnings installing XML::CanonicalizeXML (Re: I am getting an error ...)
  • Download Code

Replies are listed 'Best First'.
Re: Warnings installing XML::CanonicalizeXML (Re: I am getting an error ...)
by Anonymous Monk on Dec 21, 2022 at 04:52 UTC

    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'
      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?