<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="">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>---<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>