<div dir="ltr">Hi all,<div><br></div><div>When I attempt to install Erlang 21 on a new Apple Silicon chip I get this message:</div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">onorio.catenacci$ brew install erlang@21</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">erlang@21: The x86_64 architecture is required for this software.</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(175,32,23)">Error:</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> erlang@21: An unsatisfied requirement failed this build.</span></p></div><div><br></div><div>I found this: </div><div><a href="https://stackoverflow.com/a/67098973/2820">https://stackoverflow.com/a/67098973/2820</a><br clear="all"><div><br></div><div>But it doesn't seem to do the trick.  When I attempt to run it I get this message:</div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">onorio.catenacci$ arch -x86_64 brew install erlang@21</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(175,32,23)">Error:</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">To rerun under ARM use:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">    </span>arch -arm64 brew install ...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Cascadia Mono PL";color:rgb(83,104,112);background-color:rgba(252,244,220,0.96)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">To install under x86_64, install Homebrew into /usr/local.</span></p></div><div><br></div><div>Has anyone gotten Homebrew/Rosetta working with an older version of Erlang?  I realize it's still pretty new so I'm not expecting it to work turnkey but I was hoping others might have seen this issue and figured out a fix. </div><div><br></div><div>I'm looking for stuff on Homebrew and Rosetta as well but it seemed that some of the folks here may have run across this one too so I figured there was no harm in asking.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div><div>Onorio</div><div><br></div><div><br></div></div></div></div></div>