in reply to Re: Warning (mostly harmless): No library found for -lxml2
in thread Warning (mostly harmless): No library found for -lxml2

Yes, I think it's to do with MacOS and code-signing. But I would expect MakeMaker to generate a Makefile that avoids that trap.
  • Comment on Re^2: Warning (mostly harmless): No library found for -lxml2

Replies are listed 'Best First'.
Re^3: Warning (mostly harmless): No library found for -lxml2
by MikeTaylor (Sexton) on Aug 05, 2024 at 17:18 UTC
    And with that, I finally thought to myself: I wonder if my version of MakeMaker is too old? On checking, I found that I had version 7.34, which the changelog says is from 19 March 2018 ... more than six years old!

    I upgraded to the current version (7.70) and found that perl Makefile.PL now runs without warnings (good!) ...

    ... but that the actual make now fails completely, saying

    SimpleServer.xs:34:10: fatal error: 'EXTERN.h' file not found
    Oh well. Onward and upward!
      Thinking about this more, I suspect the problem might be that my ExtUtils::MakeMaker is now much newer than other related components. Since that would be a problem of my personal setup rather than Perl problem per se, I think I can let this drop now, with thanks to everyone who has chipped in.