<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yes, quite sure I downloaded and installed from <span class="px-1 text-bold" style="box-sizing: border-box; color: var(--color-accent-fg); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; padding-right: 4px !important; padding-left: 4px !important; font-weight: 600 !important;"><a href="https://github.com/3-manifolds/Sage_macOS/releases/download/v1.4.2/SageMath-9.6-1.4.2_arm64.dmg" rel="nofollow" data-skip-pjax="" style="box-sizing: border-box; color: var(--color-accent-fg); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";" class="">SageMath-9.6-1.4.2_arm64.dmg</a>.</span><div class=""><br class=""></div><div class="">In fact, I did it a second time, after I was getting the error, just to be sure I had the correct version.</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 30 Aug2022, at 11:02 PM, Sriranga Veeraraghavan <<a href="mailto:sriranga@berkeley.edu" class="">sriranga@berkeley.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Murray,<div class=""><br class=""></div><div class="">Are you sure you downloaded the M1/ARM version of Sage?  </div><div class=""><br class=""></div><div class="">Based on the error message below, I’m guessing you may have accidentally downloaded the x86_64 DMG instead of the ARM64 DMG (they are both available on GitHub, with the ARM64 version being about 90MB smaller than the x86_64 version)</div><div class=""><br class=""></div><div class="">I just downloaded the ARM specific DMG for Sage 9.7 from GitHub and did not see this issue on my M1 MacBook Air:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/3-manifolds/Sage_macOS/releases" class="">https://github.com/3-manifolds/Sage_macOS/releases</a></div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">-ranga</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 30, 2022, at 10:24, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Under macOS 12.5.1 on an M1 Mac, I'm trying to use the SageMath system (<a href="https://www.sagemath.org/" class="">https://www.sagemath.org</a>) from the command-line in Terminal, and for that libncurses is required. <div class=""><br class=""></div><div class="">Under MacPorts 2.7.2 I have:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span> sudo port installed | grep ncurses</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span> ncurses @6.3_0 (active)</div><div class=""><br class=""></div><div class="">And sudo port info ncurses says that it is universal and is for platforms darwin, freebsd.</div><div class=""><br class=""></div><div class="">The SageMath system installed is the arm64 version. However, when I run the sage command, I get error:</div><div class=""><br class=""></div><div class=""><div class="">[~] % sage</div><div class="">dyld[16273]: Library not loaded: '/opt/local/lib/libncurses.6.dylib'</div><div class="">  Referenced from: '/usr/local/bin/bash'</div><div class="">  Reason: tried: '/opt/local/lib/libncurses.6.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/usr/local/lib/libncurses.6.dylib' (no such file), '/usr/lib/libncurses.6.dylib' (no such file)</div><div class="">/usr/local/bin/sage: line 20: 16273 Abort trap: 6           /usr/bin/env - PATH="$PATH" $MIN_ENV "$SYMLINK"/venv/bin/sage "$@“</div><div class=""><br class=""></div><div class="">Is there some fix from the MacPorts end?</div><div class=""><br class=""></div><div class="">
<div class="">---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">         </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">Mobile (413)-427-5334<br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">           </span><br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">     </span></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>

<br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""><div class="">
<div>---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">            </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">Mobile (413)-427-5334<br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">           </span><br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">     </span></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""></div></body></html>