Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Murray Eisenberg
OK, moved /opt/local/lib/ to /opt/local/lib.bak/. Now in Terminal: [~] % sage dyld[55752]: Library not loaded: '/opt/local/lib/libncurses.6.dylib' Referenced from: '/usr/local/bin/bash' Reason: tried: '/opt/local/lib/libncurses.6.dylib' (no such file), '/usr/local/lib/libncurses.6.dylib' (no

Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Dima Pasechnik
No, PATH has nothing to do with libraries loading. Most probably it's due to libraries in /opt/local/lib/ which conflict, and are looked at by linker or loader... Can you temporarity move /opt/local/lib/ to /opt/local/lib.bak/ and try again? On Tue, 30 Aug 2022, 00:32 Murray Eisenberg,

Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Murray Eisenberg
echo $PATH

Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Dima Pasechnik
What's the value of PATH in your terminal session? I.e. what's the output of echo $PATH (I'm not sure what /etc/paths have to do with this - this is something static) On Mon, Aug 29, 2022 at 8:59 PM Murray Eisenberg wrote: > > I see at https://invisible-island.net/ncurses/announce.html that

Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Murray Eisenberg
I see at https://invisible-island.net/ncurses/announce.html that the current stable version of ncurses is, in fact, 6.3. > On 29 Aug2022, at 2:08 PM, G. M.-S. wrote: > > > I have just installed this version of SageMath under exactly the

Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Murray Eisenberg
How did you install libncurses? I have: /Library/Frameworks/Python.framework/Versions/3.6/lib/libncursesw.5.dylib /Library/Frameworks/Python.framework/Versions/3.5/lib/libncursesw.5.dylib /opt/local/lib/libncurses.dylib [installed from MacPorts] So probably the issue is my PATH. In

Re: [sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread G. M.-S.
I have just installed this version of SageMath under exactly the same conditions and I have no problem at all. Perhaps you have a wrong version of libncurses installed, because mine is version 5 (more precisely 5.4) and not 6. Guillermo On Mon, 29 Aug 2022 at 19:45, Murray Eisenberg wrote: >

[sage-devel] Cannot launch command-line session in macOS on M1: libncurses issue

2022-08-29 Thread Murray Eisenberg
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

[sage-devel] fatal error: 'gmp.h' file not found

2022-08-29 Thread 'Georgia Channing' via sage-devel
I am trying to attach at .pyx file in Sage on an M1 Mac running OSX Monterey. When I try to attach, I keep getting fatal errors saying 'gmp.h' file not found. I have brew install gmp done successfully, but that doesn't seem to resolve anything. Any advice? Thanks! -- You received this