x86_64 version of libncurses

Smith, Henry h.smith at northeastern.edu
Wed Aug 31 14:59:04 UTC 2022


Perhaps you tried it from the default zsh? 
Had that issue recently with anaconda which expects bash not zsh… might help.
HTH
Henry

Sent from my iPhone

> On Aug 31, 2022, at 9:55 AM, Franco Vaccari via macports-users <macports-users at lists.macports.org> wrote:
> 
> Just one comment. I see in the error message shown in 
> 
>> dyld[16273]: Library not loaded: '/opt/local/lib/libncurses.6.dylib'
>>  Referenced from: '/usr/local/bin/bash'
> 
> 
> So you are neither using the Apple-provided bash nor the MacPorts provided bash, and stuff in /usr/local may interfere with MacPorts installed stuff. And your /usr/local/bin/bash may possibly be compiled for Intel rather than arm64
> 
> But I just saw that the issue is now solved, so all the above may not matter anymore…
> 
> Ciao
> 
> Franco
> 
> 
>> On 30 Aug 2022, at 19:24, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Under macOS 12.5.1 on an M1 Mac, I'm trying to use the SageMath system (https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.sagemath.org%2F&data=05%7C01%7Ch.smith%40northeastern.edu%7Ca0605b21f707443a67c808da8b5863c6%7Ca8eec281aaa34daeac9b9a398b9215e7%7C0%7C0%7C637975509003978788%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0A4GjAYETsKeH6rcB52MUjyJIutgOwGNivGGYjNCAHs%3D&reserved=0) 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
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101        
>> Rockville, MD 20850-6667    
>> 
>> 
>> 
> 


More information about the macports-users mailing list