This ended up not quite working for me anymore. The "build" didn't produce 
an error, but sage crashes upon startup because:

...
  File "sage/algebras/quatalg/quaternion_algebra_cython.pyx", line 1, in 
init sage.algebras.quatalg.quaternion_algebra_cython
    # distutils: language = c++
ImportError: libflint.so.19: cannot open shared object file: No such file 
or directory

I think something might have gone wrong in the configuration:

$ sage --python
Python 3.13.5 (main, Jun 12 2025, 00:00:00) [GCC 15.1.1 20250521 (Red Hat 
15.1.1-2)] on linux

Would that be a source of trouble?

This file /usr/lib64/libflint.so.19 does exist. On the other hand:

$ ldd quaternion_algebra_cython.cpython-313-x86_64-linux-gnu.so 
linux-vdso.so.1 (0x00007f61ea097000)
libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f61e9fb2000)
libntl.so.44 => /lib64/libntl.so.44 (0x00007f61e9c00000)
libflint.so.20 => /lib64/libflint.so.20 (0x00007f61e9000000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f61e8c00000)
libm.so.6 => /lib64/libm.so.6 (0x00007f61e9ec4000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f61e9bd4000)
libc.so.6 => /lib64/libc.so.6 (0x00007f61e8a0e000)
libgf2x.so.3 => /lib64/libgf2x.so.3 (0x00007f61e9eb1000)
libflexiblas.so.3 => /lib64/libflexiblas.so.3 (0x00007f61e8600000)
libmpfr.so.6 => /lib64/libmpfr.so.6 (0x00007f61e8f44000)
/lib64/ld-linux-x86-64.so.2 (0x00007f61ea099000)
libgfortran.so.5 => /lib64/libgfortran.so.5 (0x00007f61e8200000)
libquadmath.so.0 => /lib64/libquadmath.so.0 (0x00007f61e9b8d000)

so it seems that while compiling, another libflint was picked up. That one 
indeed exists as well.

I did bootstrap and configure. Should I "make distclean" as well?
On Sunday, 4 May 2025 at 10:35:06 UTC-7 Vincent Macri wrote:

> As a workaround until GCC 15 is supported, this worked for me:
>
> export CC=$(which gcc-14)
> export CPP=$(which cpp-14)
> export CXX=$(which g++-14)
> export FC=$(which gfortran-14)
>
> these can be installed via the Fedora packages gcc14, gcc14-c++, and 
> gcc14-gfortran.
>
> Vincent Macri (He/Him)
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/sage-devel/4f78b6cb-6688-4123-a795-d852e13d4119n%40googlegroups.com.

Reply via email to