On Fri, Jul 31, 2020 at 1:40 PM Samuel Lelièvre <[email protected]> wrote: > > 2020-07-31 12:29 UTC, Dima Pasechnik: > > > > On Fri, Jul 31, 2020 at 12:43 PM Samuel Lelièvre: > > > > > > 2020-07-31 à 09:58 UTC, Dima Pasechnik: > > > > > > > > Do you have another copy of libecl*.dylib or libecl*.so somewhere in > > > > /usr/local ? > > > > > > > > (or just ecl*.[dylib,so] - I recall at some point the naming was off) > > > > > > Here is what I have: > > > ``` > > > $ find /usr/local -iname "ecl*.so" > > > $ find /usr/local -iname "ecl*.dylib" > > > $ find /usr/local -iname "libecl*.so" > > > $ find /usr/local -iname "libecl*.dylib" > > > /usr/local/lib/libecl.20.dylib > > > /usr/local/lib/libecl.dylib > > > /usr/local/lib/libecl.20.4.dylib > > > /usr/local/lib/libecl.20.4.24.dylib > > > /usr/local/Cellar/ecl/20.4.24/lib/libecl.20.dylib > > > /usr/local/Cellar/ecl/20.4.24/lib/libecl.dylib > > > /usr/local/Cellar/ecl/20.4.24/lib/libecl.20.4.dylib > > > /usr/local/Cellar/ecl/20.4.24/lib/libecl.20.4.24.dylib > > > > I guess all of them are actually links to > > /usr/local/Cellar/ecl/20.4.24/lib/libecl.20.4.24.dylib > > all of them installed by Homebrew. > > > > anyhow, most probably the error you have is due to their presence - as they > > are > > built with --enable-threads=yes, but Sage's is built with > > --enable-threads=no > > Thanks for the analysis. Is this something to take into account at > > - spkg-configure.m4 for ecl and maxima > https://trac.sagemath.org/ticket/29617 > > or is it independent of spkg-configure.m4 and should configure > check the "enable-threads" status of any libecl*.[so|dylib] it finds?
At the moment Sage should ignore all the ECL except from its own, but it does not happen for some reason - during the building of the Cython extension it does use the system (Homebrew) one, but then during the Sage startup it uses Sage's own, BOOM... Frankly I don't recall why we need single-threaded ECL. > > Should I just uninstall Homebrew's ecl and maxima for now? yes, that's one way out - and rebuild Sage's ECL extension afterwards. > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" 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-release/CAEcArF3u2rVkaLrrfHC%2BW3bvF7%3D9ATajOD35pHOnzzZunEQqcg%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-release" 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-release/CAAWYfq0uxB5cZ6nR_uA%2BwfwcV4ZGvraKmhJPfCMmum%2BFNubszQ%40mail.gmail.com.
