Cannot docbuild to pdf - libncurses architecture problem

asked 2022-08-28 21:37:29 +0200

murraye gravatar image

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

sage -docbuild reference/manifolds pdf


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?

edit retag flag offensive close merge delete


Meanwhile, you can get the pdf file from

eric_g gravatar imageeric_g ( 2022-08-28 23:56:50 +0200 )edit

Did you install Sage from source, or from the Sage-macOS installer which gives a macOS app?

slelievre gravatar imageslelievre ( 2022-08-29 12:46:37 +0200 )edit