Hi, Do you have the folder /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk ?
Isuru On Sun, Oct 13, 2019 at 10:14 AM David Coudert <david.coud...@inria.fr> wrote: > here it is. > > confetti:lib dcoudert$ /Users/dcoudert/sage3/sage/local/bin/gfortran > -print-prog-name=ld > ld > confetti:lib dcoudert$ /Users/dcoudert/sage3/sage/local/bin/gfortran -v > Using built-in specs. > COLLECT_GCC=/Users/dcoudert/sage3/sage/local/bin/gfortran > > COLLECT_LTO_WRAPPER=/Users/dcoudert/sage3/sage/local/libexec/gcc/x86_64-apple-darwin18.6.0/7.4.0/lto-wrapper > Target: x86_64-apple-darwin18.6.0 > Configured with: ../src/configure > --prefix=/Users/dcoudert/sage3/sage/local > --with-local-prefix=/Users/dcoudert/sage3/sage/local > --with-gmp=/Users/dcoudert/sage3/sage/local > --with-mpfr=/Users/dcoudert/sage3/sage/local > --with-mpc=/Users/dcoudert/sage3/sage/local --with-system-zlib > --without-isl --disable-multilib --disable-nls --disable-libitm > --with-build-config=bootstrap-debug --without-isl --without-cloog > --with-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > --disable-bootstrap --enable-languages=fortran > Thread model: posix > gcc version 7.4.0 (GCC) > > > Le 13 oct. 2019 à 16:47, Isuru Fernando <isu...@gmail.com> a écrit : > > Hi, > > This is a problem with gfortran using an incorrect linker. > > Can you post the output of, > > /Users/dcoudert/sage3/sage/local/bin/gfortran -print-prog-name=ld > > /Users/dcoudert/sage3/sage/local/bin/gfortran -v > > Isuru > > > On Sun, Oct 13, 2019 at 8:21 AM David Coudert <david.coud...@inria.fr> > wrote: > >> confetti:lib dcoudert$ otool -L libfflas.dylib >> libfflas.dylib: >> /Users/dcoudert/sage3/sage/local/lib/libfflas.1.dylib (compatibility >> version 2.0.0, current version 2.0.0) >> /Users/dcoudert/sage3/sage/local/lib/libgivaro.9.dylib (compatibility >> version 11.0.0, current version 11.1.0) >> /Users/dcoudert/sage3/sage/local/lib/libgmp.23.dylib (compatibility >> version 24.0.0, current version 24.3.0) >> /Users/dcoudert/sage3/sage/local/lib/libgmpxx.8.dylib (compatibility >> version 13.0.0, current version 13.3.0) >> /Users/dcoudert/sage3/sage/local/lib/libopenblas_haswellp-r0.3.6.dylib >> (compatibility version 0.0.0, current version 0.0.0) >> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version >> 400.9.4) >> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version >> 1252.250.1) >> >> >> Le 13 oct. 2019 à 15:19, Dima Pasechnik <dimp...@gmail.com> a écrit : >> >> oops sorry, your gfortran is ok. >> how about fflas* package, it is probably broken... >> >> On Sun, 13 Oct 2019, 14:17 Dima Pasechnik, <dimp...@gmail.com> wrote: >> >>> are you building gfortran in Sage, or using a prebuilt one? >>> >>> it might be that its libgfortran got broken >>> >>> On Sun, 13 Oct 2019, 13:01 David Coudert, <david.coud...@inria.fr> >>> wrote: >>> >>>> >>>> >>>> confetti:lib dcoudert$ pwd >>>> >>>> /Users/dcoudert/sage3/sage/local/lib >>>> >>>> confetti:lib dcoudert$ otool -L libgfortran.dylib >>>> >>>> libgfortran.dylib: >>>> >>>> /Users/dcoudert/sage3/sage/local/lib/libgfortran.4.dylib (compatibility >>>> version 5.0.0, current version 5.0.0) >>>> >>>> /Users/dcoudert/sage3/sage/local/lib/libquadmath.0.dylib (compatibility >>>> version 1.0.0, current version 1.0.0) >>>> >>>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current >>>> version 1252.250.1) >>>> >>>> /Users/dcoudert/sage3/sage/local/lib/libgcc_s.1.dylib (compatibility >>>> version 1.0.0, current version 1.0.0) >>>> >>>> >>>> but I don't have the 2 others >>>> >>>> confetti:sage dcoudert$ ls -lR | grep ftpack | grep dylib >>>> >>>> confetti:sage dcoudert$ pwd >>>> >>>> /Users/dcoudert/sage3/sage >>>> >>>> >>>> >>>> >>>> >>>> Le dimanche 13 octobre 2019 13:48:55 UTC+2, Dima Pasechnik a écrit : >>>>> >>>>> I gather that the error comes from one of -ldfftpack -lfftpack >>>>> -lgfortran >>>>> being incorrectly linked/broken. >>>>> >>>>> please locate the relevant lib*.dylib files (in SAGE_LOCAL?) and run >>>>> "otool -L" on each of them >>>>> to see if they are OK. >>>>> >>>>> >>>>> On Sun, Oct 13, 2019 at 12:43 PM David Coudert <david....@inria.fr> >>>>> wrote: >>>>> > >>>>> > it's an incremental build from 9.0.beta0. >>>>> > I upgraded my OS in July after a system crash. So I had to reinstall >>>>> everything from scratch. >>>>> > >>>>> > In case, I have Xcode Version 11.1 (11A1027). >>>>> > >>>>> > Le dimanche 13 octobre 2019 13:29:21 UTC+2, Dima Pasechnik a écrit : >>>>> >>>>> >> >>>>> >> Is this a build from scratch? >>>>> >> (after an OS upgrade, incremental builds may break) >>>>> >> >>>>> >> >>>>> >> On Sun, Oct 13, 2019 at 12:19 PM David Coudert <david....@inria.fr> >>>>> wrote: >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > Le dimanche 13 octobre 2019 12:53:02 UTC+2, Dima Pasechnik a >>>>> écrit : >>>>> >> >> >>>>> >> >> We have already seen that puzzling >>>>> >> >> >>>>> >> >> ld: library not found for -lSystem >>>>> >> >> >>>>> >> >> error message. >>>>> >> >> >>>>> >> >> Is there a /usr/lib/libSystem.dylib present? >>>>> >> > >>>>> >> > >>>>> >> > Yes: >>>>> >> > >>>>> >> > >>>>> >> > confetti:sage dcoudert$ ll /usr/lib/libSystem.dylib >>>>> >> > >>>>> >> > lrwxr-xr-x 1 root wheel 17 19 jul 08:15 >>>>> /usr/lib/libSystem.dylib -> libSystem.B.dylib >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> >> >>>>> >> >> If yes, then I guess this means a broken dependency of scipy, >>>>> more >>>>> >> >> specifically, a broken dylib, built >>>>> >> >> along the way. >>>>> >> >> or Xcode that needs to be reinstalled... >>>>> >> >> >>>>> >> >> Can you do >>>>> >> >> ./sage --python >>>>> >> >> >> import numpy >>>>> >> >> >>>>> >> >> without an error? >>>>> >> > >>>>> >> > >>>>> >> > yes too: >>>>> >> > >>>>> >> > confetti:sage dcoudert$ ./sage --python >>>>> >> > >>>>> >> > Python 3.7.3 (default, Oct 13 2019, 02:06:13) >>>>> >> > >>>>> >> > [Clang 11.0.0 (clang-1100.0.33.8)] on darwin >>>>> >> > >>>>> >> > Type "help", "copyright", "credits" or "license" for more >>>>> information. >>>>> >> > >>>>> >> > >>> import numpy >>>>> >> > >>>>> >> > >>> >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > -- >>>>> >> > 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-...@googlegroups.com. >>>>> >> > To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/sage-devel/848357f8-1c79-481a-abb3-e87331775d8a%40googlegroups.com >>>>> . >>>>> > >>>>> > -- >>>>> > 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-...@googlegroups.com. >>>>> > To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/sage-devel/752fcf51-af9a-4315-b62d-f15dab05f4ea%40googlegroups.com >>>>> . >>>>> >>>> >>>> -- >>>> 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/0e66a999-c1d3-47e4-9ff6-2a929c4d820a%40googlegroups.com >>>> <https://groups.google.com/d/msgid/sage-devel/0e66a999-c1d3-47e4-9ff6-2a929c4d820a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sage-devel" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sage-devel/TsdmX1ozkq0/unsubscribe. >> To unsubscribe from this group and all its topics, 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/CAAWYfq3RJZ8%2Bp4gqHUbDH2bfYYrNUqrdssxANzg4Ltbefzt-DA%40mail.gmail.com >> <https://groups.google.com/d/msgid/sage-devel/CAAWYfq3RJZ8%2Bp4gqHUbDH2bfYYrNUqrdssxANzg4Ltbefzt-DA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> ---- >> David Coudert >> Equipe-Projet COATI >> Centre de Recherche INRIA Sophia Antipolis - Méditerranée >> Université Côte d’Azur, Inria, CNRS, I3S, France >> http://www-sop.inria.fr/members/David.Coudert >> >> >> -- >> 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/2070FE77-6360-4B60-ADBF-C0483413C43E%40inria.fr >> <https://groups.google.com/d/msgid/sage-devel/2070FE77-6360-4B60-ADBF-C0483413C43E%40inria.fr?utm_medium=email&utm_source=footer> >> . >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-devel/TsdmX1ozkq0/unsubscribe. > To unsubscribe from this group and all its topics, 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/CA%2B01voMr95sDiUZVEdLi-aGkDxu0%3DNh5Ha%2B6VGKSMqb%2BRXBAEQ%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-devel/CA%2B01voMr95sDiUZVEdLi-aGkDxu0%3DNh5Ha%2B6VGKSMqb%2BRXBAEQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > ---- > David Coudert > Equipe-Projet COATI > Centre de Recherche INRIA Sophia Antipolis - Méditerranée > Université Côte d’Azur, Inria, CNRS, I3S, France > http://www-sop.inria.fr/members/David.Coudert > > -- > 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/F36C2728-EB9B-4278-9D3D-B6AB4EE1E49C%40inria.fr > <https://groups.google.com/d/msgid/sage-devel/F36C2728-EB9B-4278-9D3D-B6AB4EE1E49C%40inria.fr?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/CA%2B01voPqaumXN8djLY5e-cz3HGCKRm2PNHf7yNdTuBQ8TBZ-ug%40mail.gmail.com.