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, <markus.wagerin...@gmail.com>
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 sage-devel+unsubscr...@googlegroups.com.
> 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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2vz08LTzP49KuPKJyOkKAF4UuAWOEQV9WG6ZssqdodBQ%40mail.gmail.com.

Reply via email to