Hello Monks, I'm trying to setup mod_perl on my new Apple silicon mac, and I'm getting errors running ModPerl::Registry. I'm using the default Apache, with mod_perl.so enabled in httpd.conf. But even simply running a test.pl file from the command line containing just use ModPerl::Registry (); generates an error:
Can't load '/System/Library/Perl/Extras/5.30/darwin-thread-multi-2leve +l/auto/APR/APR.bundle' for module APR: dlopen(/System/Library/Perl/Ex +tras/5.30/darwin-thread-multi-2level/auto/APR/APR.bundle, 0x0009): sy +mbol not found in flat namespace '_apr_bucket_alloc' at /System/Libra +ry/Perl/5.30/darwin-thread-multi-2level/DynaLoader.pm line 197. at /System/Library/Perl/Extras/5.30/darwin-thread-multi-2level/APR/Ta +ble.pm line 23. Compilation failed in require at /System/Library/Perl/Extras/5.30/darw +in-thread-multi-2level/APR/Table.pm line 23. BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.30/ +darwin-thread-multi-2level/APR/Table.pm line 23. Compilation failed in require at /System/Library/Perl/Extras/5.30/darw +in-thread-multi-2level/ModPerl/RegistryCooker.pm line 39. BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.30/ +darwin-thread-multi-2level/ModPerl/RegistryCooker.pm line 39. Compilation failed in require at /System/Library/Perl/5.30/base.pm lin +e 137. ...propagated at /System/Library/Perl/5.30/base.pm line 159. BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.30/ +darwin-thread-multi-2level/ModPerl/Registry.pm line 27. Compilation failed in require at /wineinsight/tools/test.pl line 1. BEGIN failed--compilation aborted at /wineinsight/tools/test.pl line 1 +.
I checked the version of ModPerl::Registry, ModPerl::RegstryCooker, APR::Table, and APR that came installed, and it all are current. Any suggestions?

In reply to mod_perl on MacOS Ventura (AArch64) by lschult2

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.