Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot docbuild to pdf - libncurses architecture problem

Under macOS 12.5.1 on an Mac Studio (M1 Max), I tried:

sage -docbuild reference/manifolds pdf

Result:

dyld[34418]: 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: 34418 Abort trap: 6 /usr/bin/env - PATH="$PATH" $MIN_ENV "$SYMLINK"/venv/bin/sage "$@"

How to fix?