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?
Meanwhile, you can get the pdf file from https://doc.sagemath.org/pdf/en/refer...
Did you install Sage from source, or from the Sage-macOS installer which gives a macOS app?