Sage build from source problems

63 views
Skip to first unread message

Aashraya Jha

unread,
Jan 17, 2024, 8:52:12 PM1/17/24
to sage-...@googlegroups.com
Hello,

I have tried to build Sage from source but have had no success. David Roe suggested I contact this email for assistance; I am attaching a couple of log files.


My laptop is a Macbook 14 inch with Apple M2 and MacOS Monterey 12.5 (21G72).
I would appreciate any help to help me build from source.

Thanks a lot!

Best regards,
Aash

Matthias Koeppe

unread,
Jan 17, 2024, 9:24:55 PM1/17/24
to sage-devel
From sagelib....log:
 
   gcc -bundle -undefined dynamic_lookup -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/lib -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/var/lib/sage/venv-python3.11.1/lib -L. -Wl,-rpath,. -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/lib -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/lib -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/lib -L/Users/aashrayajha/GitHub/Sage/sage/local/lib -Wl,-rpath,/Users/aashrayajha/GitHub/Sage/sage/local/lib -g -O2 build/temp.macosx-12.5-arm64-cpython-311/sage/libs/homfly.o -L/Users/aashrayajha/GitHub/Sage/sage/local/var/lib/sage/venv-python3.11.1/lib -lhomfly -lgc -o build/lib.macosx-12.5-arm64-cpython-311/sage/libs/homfly.cpython-311-darwin.so -lpari
    ld: library not found for -lgc
 
Did you run ". ./.homebrew-build-env` before running "make"? 
Is this an incremental build (upgrading a previous installation)? If so, try "make -j list-broken-packages"
It's possible that "make homfly-uninstall" fixes this.

Aashraya Jha

unread,
Jan 17, 2024, 10:02:20 PM1/17/24
to sage-devel
I had not run ". ./.homebrew-build-env"; it is working now. Thanks a lot, Matthias!
Reply all
Reply to author
Forward
0 new messages