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

Something more significant is going wrong with dynamic libraries later on when I run "make test" ...

This suggests to me that the warnings are almost certainly NOT harmless.
The warnings are telling you that EU::MM can't find the import libraries libexslt.a, libxslt.a, libxml2.a, etc., and that no attempt will therefore be made to link to them.
The failure to link to all of those import libraries will probably show up as runtime failures during "make test" because there's (probably) a whole lot of unresolved symbols.

The headers are obviously being found - otherwise there would have been compilation failures during the "make" stage.
I think you just need to tell EU::MM where those libraries are.

Cheers,
Rob
  • Comment on Re: Warning (mostly harmless): No library found for -lxml2

Replies are listed 'Best First'.
Re^2: Warning (mostly harmless): No library found for -lxml2
by etj (Priest) on Aug 01, 2024 at 14:56 UTC
    MacOS doesn't have "import libraries". There, .a files would be static link libraries. Instead, it's dynamic libraries EUMM can't find.
Re^2: Warning (mostly harmless): No library found for -lxml2
by MikeTaylor (Sexton) on Aug 01, 2024 at 14:14 UTC
    Thanks, Rob. That would be a solid interpretation were it not for the fact that I can coerce the linking to work and the tests to run as noted in this comment down in the other trouser-leg of the thread.
      That would be a solid interpretation were it not for the fact that I can coerce the linking to work and the tests to run as noted in this comment down in the other trouser-leg of the thread.

      Yeah - I saw that comment after I posted ... and wondered ...
      And etj has pointed out that "it's dynamic libraries EUMM can't find".

      Still, to me it seems unreasonable to expect the build to work if EU::MM can't find those libraries - given (my assumption) that none of those linking directives will therefore be present in the build's "make" stage.
      However, given my lack of understanding of MacOs processes, I should just shut up.

      Cheers,
      Rob