in your log one sees gcc -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/Users/honglizhao/Desktop/sage_research/code/sage/local/lib -Wl,-rpath,/Users/honglizhao/Desktop/sage_research/code/sage/local/lib -O2 -g -march=native build/temp.macosx-11-x86_64-3.9/cypari2/closure.o -L/Users/honglizhao/Desktop/sage_research/code/sage/local/lib -L/Users/honglizhao/Desktop/sage_research/code/sage/local/lib64 -lgmp -lpari -o build/lib.macosx-11-x86_64-3.9/cypari2/ closure.cpython-39-darwin.so -lpari ld: library not found for -lgmp
Usually this points out at some kind of misconfiguration. Did you forget to run source .homebrew_build_env before this round of make? On Tue, Jun 29, 2021 at 8:21 AM Hongli Zhao <honglizhao...@berkeley.edu> wrote: > Attached is the cypari log file, sorry. > > On Tuesday, June 29, 2021 at 2:17:55 AM UTC-5 Hongli Zhao wrote: > >> Thanks professor, I had to delete and re-download the source code >> repeatedly because ```./sage``` kept crashing for some reason, >> >> I ran ```make``` and now I found these errors... >> [image: Screen Shot 2021-06-29 at 2.16.57 AM.png] >> >> On Tuesday, June 29, 2021 at 2:03:56 AM UTC-5 Matthias Koeppe wrote: >> >>> These are not errors, but the fact that "readline" is included there >>> suggests that you did not run the "source" command shown there. >>> >>> >>> >>> >>> On Tuesday, June 29, 2021 at 12:01:15 AM UTC-7 hongli...@berkeley.edu >>> wrote: >>> >>>> Hi, >>>> >>>> I'm following this page: >>>> https://doc.sagemath.org/html/en/developer/walk_through.html >>>> >>>> to pull the source code. However I'm having a lot of trouble compiling >>>> the code. I did ```conda deactivate``` and first ran ```./configure```, >>>> then repeatedly I see these errors regardless if I ```brew install``` these >>>> packages (I already have these packages but the errors are still showing): >>>> >>>> [image: Screen Shot 2021-06-29 at 1.59.38 AM.png] >>>> Could someone help? Thanks a lot >>>> >>>> -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/0ec31a89-9b7a-4c25-84be-acdc3685f641n%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/0ec31a89-9b7a-4c25-84be-acdc3685f641n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0Nf10MhwReB8SgnPJTb_owNnMuO296WVqGaO72TJ70SQ%40mail.gmail.com.