Thanks to a MacPorts user, I was able to determine that the libintl file came 
from the port gettext-runtime.

The solution was to uninstall that port and in its place install its universal 
variant: port install gettext-runtime +universal.

Now the sage command runs. 

> On 31 Aug2022, at 9:45 AM, Murray Eisenberg <murrayeisenb...@gmail.com> wrote:
> 
> 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/
>  
> <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 a topic in the Google 
> Groups "sage-devel" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-devel/tOA6n3wjc7w/unsubscribe 
> <https://groups.google.com/d/topic/sage-devel/tOA6n3wjc7w/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to 
> sage-devel+unsubscr...@googlegroups.com 
> <mailto: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
>  
> <https://groups.google.com/d/msgid/sage-devel/7cfe3374-3483-448c-9412-0aa793c67731n%40googlegroups.com?utm_medium=email&utm_source=footer>.

---
Murray Eisenberg                murrayeisenb...@gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101         
Rockville, MD 20850-6667        



-- 
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/713FA10B-0C00-44A3-A16F-4BDE2FFAFA05%40gmail.com.

Reply via email to