A MacPorts user solved the libncures problem for me: I had to install the MacPorts port "ncurses + universal" instead of just "ncurses". But now a new error when I run the sage command:
dyld[3024]: Library not loaded: '/opt/local/lib/libintl.8.dylib' Referenced from: '/usr/local/bin/bash' Reason: tried: '/opt/local/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file) /usr/local/bin/sage: line 20: 3024 Abort trap: 6 /usr/bin/env - PATH="$PATH" $MIN_ENV "$SYMLINK"/venv/bin/sage "$@" The file /opt/local/lib/libintl.8.dylib had to have come from some MacPorts port. The question is ,which one!? MacPorts has no such port named "libintl" or "intl". But it does provide ports with names phpxx-intl, py-elib.intl, p5.30-libintl-perl. On Monday, August 29, 2022 at 1:45:26 PM UTC-4 Murray Eisenberg wrote: > With SageMath 9-6-1.4.2 (arm64 architecture) under macOS 12.5.1 on an M1 > Mac, I cannot start the sage on a command line, neither directly in > Terminal using command sage nor from the SageMath app with choice of > Command line interface. In each case, I get error message about the wrong > architecture libncurses. > > (The message is shown in my post > https://ask.sagemath.org/question/63840/cannot-launch-command-line-session-libncurses-problem/ > > .) > > I installed SageMath, including Recommended_9_6.pkg, using > SageMath-9.6-1.4.2_arm64.dmg from https://github.com/3-manifolds/Sage_m... > <https://github.com/3-manifolds/Sage_macOS/releases>. > > Note that I can successfully launch the jupyter notebook interface from > SageMath-9-6.app and run Sage commands there. > > How to fix this? > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/7cfe3374-3483-448c-9412-0aa793c67731n%40googlegroups.com.