Try installing libaugeas.dylib from source. If you are using macports, then ports -s will fetch the source and compile locally. Other package managers will have their own equivalent. If that fails, fetch the source yourself and compile it locally. For this last option, I am not sure installing it over existing /usr/local/lib will be a good idea though.

Edit: hang on I got it totally wrong. The error message says that your library is version 11 which more-or-less matches your OS. And it is linked with something which is 10.13. The only thing is lib/Config/Augeas.o Perhaps bumping up -mmacosx-version-min=10.13?

Edit2: How to do this? make CFLAGS="-mmacosx-version-min=11.0" LDFLAGS="-mmacosx-version-min=11.0" and if that creates contradictory options then cpanm My::Module --configure-args='CFLAGS="-mmacosx-version-min=11.0" LDFLAGS="-mmacosx-version-min=11.0"' And if all else fails, edit Makefile and bump up the version from 10.13 to 11.0 manually and be careful not to re-run Makefile.PL which will re-create Makefile.

bw, bliako


In reply to Re: Cannot install Config::Augeas on Mac, Big Sur by bliako
in thread Cannot install Config::Augeas on Mac, Big Sur by nysus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.