On Sun, 10 Jul 2022, 09:43 david....@gmail.com, <david.coud...@gmail.com>
wrote:

> on MacOS 12.3.1 with Xcode 13.4.1 and a recent brew upgrade, I did:
> bootstrap, source .homebrew-build-env, configure and make.
> The compilation went well, but sage is not working at all.
> - Sage looks for /usr/local/Cellar/flint/2.9.0/lib/libflint-16.dylib. but
> I have /usr/local/Cellar/flint/2.9.0/lib/libflint-17.dylib
> - Also, the completion is not working anymore in the console.
>

you apparently have some bits not rebuilt, which were built against older
Flint.

I'd do

   make sagelib-clean sagelib-uninstall

followed by

   make



> What can I try to fix the issue ?
>
> Thanks,
> David.
>
> ==============
> sapristi:sage dcoudert$ ./sage
> ┌────────────────────────────────────────────────────────────────────┐
> │ SageMath version 9.7.beta4, Release Date: 2022-07-07               │
> │ Using Python 3.9.13. Type "help()" for help.                       │
> └────────────────────────────────────────────────────────────────────┘
> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
> ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
> ┃ Warning: sage.all is not available; this is a limited REPL.        ┃
> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
> sage: import sage.all
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> <ipython-input-1-d287b22e1156> in <module>
> ----> 1 import sage.all
>
> ~/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/all.py
> in <module>
>     136 from sage.modules.all    import *
>     137 from sage.monoids.all    import *
> --> 138 from sage.algebras.all   import *
>     139 from sage.modular.all    import *
>     140 from sage.sat.all        import *
>
> ~/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/algebras/all.py
> in <module>
>      19 from sage.misc.lazy_import import lazy_import
>      20
> ---> 21 import sage.algebras.catalog as algebras
>      22
>      23 from .quantum_groups.all import *
>
> ~/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/algebras/catalog.py
> in <module>
>      78
>      79 from sage.algebras.free_algebra import FreeAlgebra as Free
> ---> 80 from sage.algebras.quatalg.quaternion_algebra import
> QuaternionAlgebra as Quaternion
>      81 from sage.algebras.steenrod.steenrod_algebra import
> SteenrodAlgebra as Steenrod
>      82 from
> sage.algebras.finite_dimensional_algebras.finite_dimensional_algebra import
> FiniteDimensionalAlgebra as FiniteDimensional
>
> ~/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/algebras/quatalg/quaternion_algebra.py
> in <module>
>      66     QuaternionAlgebraElement_rational_field,
>      67     QuaternionAlgebraElement_number_field)
> ---> 68 from . import quaternion_algebra_cython
>      69
>      70 from sage.modular.modsym.p1list import P1List
>
> ~/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/algebras/quatalg/quaternion_algebra_cython.pyx
> in init sage.algebras.quatalg.quaternion_algebra_cython
> (build/cythonized/sage/algebras/quatalg/quaternion_algebra_cython.cpp:6388)()
> ----> 1 # distutils: language = c++
>       2 # distutils: libraries = gmp m NTL_LIBRARIES
>       3 # distutils: extra_compile_args = NTL_CFLAGS
>       4 # distutils: include_dirs = NTL_INCDIR
>       5 # distutils: library_dirs = NTL_LIBDIR
>
> ImportError:
> dlopen(/Users/dcoudert/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/matrix/
> matrix_integer_dense.cpython-39-darwin.so, 0x0002): Library not loaded:
> /usr/local/opt/flint/lib/libflint-16.dylib
>   Referenced from: /Users/dcoudert/sage/local/lib/liblinbox.0.dylib
>   Reason: tried: '/usr/local/opt/flint/lib/libflint-16.dylib' (no such
> file), '/usr/local/lib/libflint-16.dylib' (no such file),
> '/usr/lib/libflint-16.dylib' (no such file),
> '/usr/local/Cellar/flint/2.9.0/lib/libflint-16.dylib' (no such file),
> '/usr/local/lib/libflint-16.dylib' (no such file),
> '/usr/lib/libflint-16.dylib' (no such file)
> sage:
>
>
> ==============
>
>
>
>
>
> On Friday, July 8, 2022 at 11:22:21 PM UTC+2 Volker Braun wrote:
>
>> As always, you can get the latest beta version from the "develop" git
>> branch. Alternatively, the self-contained source tarball is at
>> http://www.sagemath.org/download-latest.html
>>
>> 843eb03e7e (tag: 9.7.beta4, trac/develop) Updated SageMath version to
>> 9.7.beta4
>> 232d0434cf Trac #33866: Make jupyter_packaging standard; add hatchling,
>> editables, pathspec, poetry_core, tomlkit, deprecation; update tomli,
>> flit_core, setuptools, pip, wheel
>> 9307820a88 Trac #33821: Remove use of SAGE_LIB in sage.misc
>> b23b788586 Trac #33409: Size of docker images has increased in 9.5
>> b5d2fcaeb0 Trac #33029: Feature and doctest tag for runtime cython
>> be2bda4921 Trac #29779: pkgconf: Update to 1.8.0, remove runtime dep on
>> environment variable SAGE_LOCAL
>> c02edcb15b Trac #25374: Upgrade cryptominisat to 5.8.0, fix build on
>> Cygwin
>> e22b33a0c1 Trac #34017: Fix tox-docker builds after #29941
>> c4236d0844 Trac #34008: pycodestyle cleanup in
>> sage.graphs.generic_graph_pyx.pyx
>> 6f961ffa38 Trac #34007: Allow start parameter in Python's sum
>> c59c86cfbd Trac #33996: ascii_art fail in jupyter notebook
>> c40983afcd Trac #33991: remove some unused imports
>> b02c408763 Trac #33978: various details about typing in combinat
>> 6fb1e3f13a Trac #34037: Make doctest from #25626 more robust
>> 4169d7d6c0 Trac #34035: Add __reversed__ method to FrozenBitsets
>> 45c963e0c7 Trac #34030: move supercommutator to superalgebras
>> d4706f96f9 Trac #34019: minor code details in combinat
>> 3d336f0435 Trac #34014: Clean src/sage/graphs/pq_trees.py
>> c9aa34b34c Trac #33957: Manifold.options.omit_function_arguments
>> ineffective for arguments not in alphabetic order
>> 0b2741d399 Trac #33619: clean up ell_curve_isogeny.py
>> c0e59251e2 Trac #34036: fix the linter
>> 2b36879ae1 Trac #34025: Fix doctest in
>> sage/modular/overconvergent/hecke_series.py
>> c0abe3f5ee Trac #33213: Replace SAGE_TMP by the system location in the
>> sage library
>> 7ab174a70d Trac #32340: document behavior of .is_prime() for number fields
>> c69f4af336 Trac #28263: Degree for Affine Morphism or Affine Dynamical
>> System
>> e516392523 Trac #34001: Add flag to avoid OrePolynomialRing cast to
>> PolynomialRing
>> 01b8bcb85f Trac #33993: pep cleanup for words/morphism.py
>> 716c5ce262 Trac #33992: remove class inheritance of object in remaining
>> places
>> de375bce02 Trac #33990: Subset_s _an_element_
>> 0593e83957 Trac #33987: modernize super() in structure, symbolic,
>> doctest, databases
>> d9a45e29eb Trac #33985: modernize super() in monoids,modules,modular
>> 7ed404657b Trac #33984: modernize super() in schemes,libs,sets,quivers
>> 1df260e842 Trac #33979: .roots() does not always return elements of the
>> base ring
>> c6c2b85405 Trac #33974: Documentation addition for symmetric functions -
>> Cauchy identity
>> f92916e358 Trac #33840: bool(matrix) ignores exceptions raised while
>> comparing entries
>> f8df80820d (tag: 9.7.beta3) Updated SageMath version to 9.7.beta3
>>
> --
> 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 sage-release+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-release/37ae0e34-dc9a-4315-b773-badbaaf4f9a2n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-release/37ae0e34-dc9a-4315-b773-badbaaf4f9a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq3cVk8qB%2B6P6WNwrnVqwDGDjYgawOec4EEDFMWeaWNzdQ%40mail.gmail.com.

Reply via email to