Error building sage

41 views
Skip to first unread message

Allison Fitisone

unread,
Sep 8, 2022, 9:50:56 AM9/8/22
to sage-devel
Hi all,

I'm having trouble building sage. I'm using a MacBook Pro with macOS Monterey. I've attached a screenshot of the error I get and the relevant logs. Please advise.

Thanks,
Alli
matplotlib-3.5.2.log
scipy-1.8.1.log
config.log
error.png

Matthias Koeppe

unread,
Sep 8, 2022, 10:52:13 AM9/8/22
to sage-devel
From matplotlib log:
===
    File "/Users/allisonfitisone/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/numpy/core/overrides.py", line 6, in <module>
      from numpy.core._multiarray_umath import (
  ImportError: dlopen(/Users/allisonfitisone/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so, 0x0002): Library not loaded: /usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib
    Referenced from: /Users/allisonfitisone/sage/local/lib/libopenblas_haswellp-r0.3.20.dylib
    Reason: tried: '/usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file)
===

This is likely caused by an update of homebrew.
You can fix this by rebuilding from scratch (for example, using "make distclean").

To save time of a complete rebuild, you can try to use the branch of this ticket: https://trac.sagemath.org/ticket/34203:

git fetch trac u/mkoeppe/find_and_uninstall_broken_installed_spkgs_and_wheels && git merge FETCH_HEAD && make -j list-broken-packages

This command will give more specific cleaning instructions.

 


Reply all
Reply to author
Forward
0 new messages