x86_64 version of libncurses

Murray Eisenberg murrayeisenberg at gmail.com
Wed Aug 31 13:24:49 UTC 2022


Yes, quite sure I downloaded and installed from SageMath-9.6-1.4.2_arm64.dmg <https://github.com/3-manifolds/Sage_macOS/releases/download/v1.4.2/SageMath-9.6-1.4.2_arm64.dmg>.

In fact, I did it a second time, after I was getting the error, just to be sure I had the correct version.

> On 30 Aug2022, at 11:02 PM, Sriranga Veeraraghavan <sriranga at berkeley.edu> wrote:
> 
> Hi Murray,
> 
> Are you sure you downloaded the M1/ARM version of Sage?  
> 
> 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)
> 
> I just downloaded the ARM specific DMG for Sage 9.7 from GitHub and did not see this issue on my M1 MacBook Air:
> 
> https://github.com/3-manifolds/Sage_macOS/releases <https://github.com/3-manifolds/Sage_macOS/releases>
> 
> Best,
> 
> -ranga
> 
>> On Aug 30, 2022, at 10:24, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>> 
>> Under macOS 12.5.1 on an M1 Mac, I'm trying to use the SageMath system (https://www.sagemath.org <https://www.sagemath.org/>) from the command-line in Terminal, and for that libncurses is required. 
>> 
>> Under MacPorts 2.7.2 I have:
>> 
>> 	 sudo port installed | grep ncurses
>> 	 ncurses @6.3_0 (active)
>> 
>> And sudo port info ncurses says that it is universal and is for platforms darwin, freebsd.
>> 
>> The SageMath system installed is the arm64 version. However, when I run the sage command, I get error:
>> 
>> [~] % sage
>> dyld[16273]: Library not loaded: '/opt/local/lib/libncurses.6.dylib'
>>   Referenced from: '/usr/local/bin/bash'
>>   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)
>> /usr/local/bin/sage: line 20: 16273 Abort trap: 6           /usr/bin/env - PATH="$PATH" $MIN_ENV "$SYMLINK"/venv/bin/sage "$@“
>> 
>> Is there some fix from the MacPorts end?
>> 
>> ---
>> Murray Eisenberg		murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101		
>> Rockville, MD 20850-6667	
>> 
>> 
>> 
> 

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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220831/920af47f/attachment.htm>


More information about the macports-users mailing list