That worked. The build has finished successfully. Thanks.
> Am 14.12.2019 um 12:47 schrieb Dima Pasechnik > > as a quick fix, try > > export LDFLAGS="-L/usr/local/lib" > make > > > > On Sat, 14 Dec 2019, 11:37 Markus Wageringel, <[email protected] > <mailto:[email protected]>> wrote: > There is libmpfr.dylib in /usr/local/lib. > > > Am Samstag, 14. Dezember 2019 12:28:49 UTC+1 schrieb Dima Pasechnik: > where is mpfr.dylib ? in /usr/local/lib ? > > also, on OSX I always do > > CC=clang CXX=clang++ FC=gfortran ./configure > > to make sure the compilers are right. > > > On Sat, 14 Dec 2019, 11:07 Markus Wageringel, <[email protected] <>> > wrote: > Hi everyone, > > trying to build 9.0.beta9 from scratch on macOS 13.6, the build fails for me > while building Singular. There seems to be a problem with linking to the > system mpfr. I have Homebrew's mpfr. The Sage and Singular config logs are > attached. Also, I am not sure if it is relevant, but I installed flint and > arb via brew from dimpase/science/ yesterday. > > Any help in solving this would be appreciated. Thank you. > > Markus > > ... > [singular-4.1.1p2.p0] /bin/bash ../../../libtool --tag=CXX --mode=link g++ > -std=gnu++11 > -I/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/include/python2.7 > -O2 -g -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs > -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable > -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions > -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti > -Qunused-arguments -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > -F/usr/local/opt/python@2/Frameworks -u _PyMac_Error > /usr/local/opt/python@2/Frameworks/Python.framework/Versions/2.7/Python > -module-export-dynamic -avoid-version -flat_namespace > -weak_reference_mismatches weak -undefined dynamic_lookup > -L/Applications/SageMath/local/lib > -Wl,-rpath,/Applications/SageMath/local/lib -pipe -fno-common -g0 -O3 > -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas > -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default > -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops > -Qunused-arguments -rdynamic -flat_namespace -Wl,-bind_at_load > -Wl,-undefined,dynamic_lookup -o pyobject.la -rpath > /Applications/SageMath/local/libexec/singular/MOD pyobject_la-pyobject.lo > -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > -F/usr/local/opt/python@2/Frameworks -u _PyMac_Error > /usr/local/opt/python@2/Frameworks/Python.framework/Versions/2.7/Python > -lreadline -lncurses -lmpfr > [singular-4.1.1p2.p0] libtool: link: g++ -std=gnu++11 -Wl,-undefined > -Wl,dynamic_lookup -o .libs/pyobject.so -bundle .libs/pyobject_la-pyobject.o > -L/Applications/SageMath/local/lib -lreadline -lncurses -lmpfr -O2 -g -g0 > -O3 -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > -F/usr/local/opt/python@2/Frameworks -Wl,-rpath > -Wl,/Applications/SageMath/local/lib -g0 -O3 -Wl,-bind_at_load -Wl,-undefined > -Wl,dynamic_lookup -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk > -F/usr/local/opt/python@2/Frameworks > [singular-4.1.1p2.p0] ld: library not found for -lmpfr > [singular-4.1.1p2.p0] clang: error: linker command failed with exit code 1 > (use -v to see invocation) > [singular-4.1.1p2.p0] make[7]: *** [pyobject.la] Error 1 > [singular-4.1.1p2.p0] make[6]: *** [all-recursive] Error 1 > [singular-4.1.1p2.p0] make[5]: *** [all-recursive] Error 1 > [singular-4.1.1p2.p0] make[4]: *** [all] Error 2 > [singular-4.1.1p2.p0] make[3]: *** [all-recursive] Error 1 > [singular-4.1.1p2.p0] make[2]: *** [all] Error 2 > [singular-4.1.1p2.p0] > ******************************************************************************** > [singular-4.1.1p2.p0] Error building singular-4.1.1p2.p0 > [singular-4.1.1p2.p0] > ******************************************************************************** > > > -- > 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 [email protected] <>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/d5604d56-31d3-484b-9636-a547fb39c376%40googlegroups.com > > <https://groups.google.com/d/msgid/sage-devel/d5604d56-31d3-484b-9636-a547fb39c376%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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/4de68710-467f-442e-ac33-5d7cfe0c4845%40googlegroups.com > > <https://groups.google.com/d/msgid/sage-devel/4de68710-467f-442e-ac33-5d7cfe0c4845%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/xh66HfiPVFY/unsubscribe > <https://groups.google.com/d/topic/sage-devel/xh66HfiPVFY/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAAWYfq10eb2gdwcXX%3DDQ7%2BX8UnCx9ptCCnOsbE6x%3Dqj_AsGXJA%40mail.gmail.com > > <https://groups.google.com/d/msgid/sage-devel/CAAWYfq10eb2gdwcXX%3DDQ7%2BX8UnCx9ptCCnOsbE6x%3Dqj_AsGXJA%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3BBC8078-F567-46E7-9AA3-56FD6F932C59%40gmail.com.
