On Fri, Aug 8, 2025 at 1:13 PM Marc Culler <
marc....@gmail.com> wrote:
>
> OK. I found the configure option which triggered the install of sage_environment: I had "--enable-sagemath_sirocco".
>
> I will remove that since you say it is not needed. Nonetheless, that option is listed as a valid option when one runs "configure --help", So it should not produce a build failure.
Sorry, I spoke too soon. It should not be needed, but something fails
in the process of building the sirocco cython extension module
(when built in the classical non-meson way, which is still the default)
$ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.7.rc1, Release Date: 2025-08-05 │
│ Using Python 3.13.5. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: import sage.libs.sirocco
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import sage.libs.sirocco
ImportError: /home/dima/software/sage/src/sage/libs/
sirocco.cpython-313-x86_64-linux-gnu.so:
undefined symbol: homotopyPath_mp_comps
Indeed, as I see, it's not linked against libsirocco (in local/lib) -
even though the latter is built.
$ ldd `find . -name
sirocco.cpython-313-x86_64-linux-gnu.so`
linux-vdso.so.1 (0x00007f0bca624000)
libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f0bca542000)
libmpfr.so.6 => /usr/lib64/libmpfr.so.6 (0x00007f0bca482000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f0bca296000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0bca626000)
$ ls -l local/lib/*siro*
lrwxrwxrwx 1 dima dima 19 Aug 8 13:39 local/lib/libsirocco.so ->
libsirocco.so.0.0.0
lrwxrwxrwx 1 dima dima 19 Aug 8 13:39 local/lib/libsirocco.so.0
-> libsirocco.so.0.0.0
-rwxr-xr-x 1 dima dima 847592 Aug 8 13:39 local/lib/libsirocco.so.0.0.0
A quick way to fix it might be to add a pkg-config .pc file to
facilitate its discovery
(at least a similar spkg, braiding, works for me, as it has the latter in place)
Dima
> 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...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sage-release/CALcZXRHHPViXqt5bqUOtmC7%2BFE6VmATromwxH23YWe4G1jAnFA%40mail.gmail.com.