otool -L 
/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
 <http://bliss.cpython-312-darwin.so/>

/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so:
        @rpath/libbliss.dylib (compatibility version 0.0.0, current version 
0.0.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 
2000.63.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1356.0.0)


I already had pkgconf installed. Will remove pkg-config-wrapper if not 
recommended.

Thanks for the help.


> Le 5 oct. 2025 à 22:15, Dima Pasechnik <[email protected]> a écrit :
> 
> by the way, pkg-config-wrapper isn't what's recommended 
> This is something needed for Go.
> 
> brew install pkgconf
> 
> is a safer bet.
> 
> 
> On October 5, 2025 2:40:56 PM CDT, David Coudert <[email protected]> 
> wrote:
>> I tried but the situation is the same.
>> 
>> I don’t understand what’s going on.
>> 
>>> Le 5 oct. 2025 à 21:11, Dima Pasechnik <[email protected]> a écrit :
>>> 
>>> 
>>> 
>>> On Sun, Oct 5, 2025 at 1:19 PM David Coudert <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>>> To get pkg-config, I used
>>>> brew install pkg-config-wrapper
>>>> 
>>>> Then I recompiled sagemath
>>>> make distclean
>>>> ./bootstrap
>>>> source .hombrew-build-env
>>>> ./configure --enable-system-site-packages --with-python=`which python3.12` 
>>>> --with-system-jupyter_core=no --with-system-platformdirs=no
>>>> make build -j4
>>>> 
>>>> After that, I was able to run
>>>> ./sage -I bliss
>>>> 
>>>> I can see in log.install.log
>>>> [sagelib-10.8.beta5] [spkg-install]   Library bliss found: YES
>>>> 
>>>> But something goes wrong :(
>>> 
>>> It certainly works on Linux, although I had to do
>>> 
>>> make bliss
>>> make sagelib-clean sagelib-uninstall
>>> make # build has no effect now, anyway
>>> 
>>> Can you try
>>> 
>>> make sagelib-clean sagelib-uninstall
>>> make -j4
>>> 
>>> and see if it helps?
>>> 
>>> 
>>>  
>>>> 
>>>> MAC-XXXXXXX:sage dcoudert$ ./sage
>>>> ┌────────────────────────────────────────────────────────────────────┐
>>>> │ SageMath version 10.8.beta5, Release Date: 2025-09-27              │
>>>> │ Using Python 3.12.11. Type "help()" for help.                      │
>>>> └────────────────────────────────────────────────────────────────────┘
>>>> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
>>>> ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
>>>> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
>>>> sage: G = graphs.CycleGraph(5)
>>>> sage: G.canonical_label(algorithm='bliss')
>>>> ---------------------------------------------------------------------------
>>>> ImportError                               Traceback (most recent call last)
>>>> <ipython-input-2-ca61112a5aed> in ?()
>>>> ----> 1 G.canonical_label(algorithm='bliss')
>>>> 
>>>> ~/sage/src/sage/graphs/generic_graph.py in ?(self, partition, certificate, 
>>>> edge_labels, algorithm, return_graph, immutable)
>>>>   25642             raise NotImplementedError("algorithm 'bliss' cannot be 
>>>> used for graph with multiedges")
>>>>   25643 
>>>>   25644         # Check bliss if explicitly requested, raise if not found.
>>>>   25645         if algorithm == 'bliss':
>>>> > 25646             from sage.graphs.bliss import canonical_form
>>>>   25647 
>>>>   25648         # By default use bliss when possible
>>>>   25649         elif algorithm is None:
>>>> 
>>>> ImportError: 
>>>> dlopen(/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
>>>>  <http://bliss.cpython-312-darwin.so/>, 0x0002): Library not loaded: 
>>>> @rpath/libbliss.dylib
>>>>   Referenced from: <9683650E-242A-307A-B004-BF84FA2ACED0> 
>>>> /Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
>>>>  <http://bliss.cpython-312-darwin.so/>
>>>>   Reason: tried: '/opt/homebrew/lib/libbliss.dylib' (no such file), 
>>>> '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no 
>>>> such file), '/opt/homebrew/lib/libbliss.dylib' (no such file), 
>>>> '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no 
>>>> such file)
>>>> sage: from sage.graphs.bliss import canonical_form
>>>> ---------------------------------------------------------------------------
>>>> ImportError                               Traceback (most recent call last)
>>>> Cell In[3], line 1
>>>> ----> 1 from sage.graphs.bliss import canonical_form
>>>> 
>>>> ImportError: 
>>>> dlopen(/Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
>>>>  <http://bliss.cpython-312-darwin.so/>, 0x0002): Library not loaded: 
>>>> @rpath/libbliss.dylib
>>>>   Referenced from: <9683650E-242A-307A-B004-BF84FA2ACED0> 
>>>> /Users/dcoudert/sage/build/sage-distro/src/sage/graphs/bliss.cpython-312-darwin.so
>>>>  <http://bliss.cpython-312-darwin.so/>
>>>>   Reason: tried: '/opt/homebrew/lib/libbliss.dylib' (no such file), 
>>>> '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no 
>>>> such file), '/opt/homebrew/lib/libbliss.dylib' (no such file), 
>>>> '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libbliss.dylib' (no 
>>>> such file)
>>>> sage: 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> Le 5 oct. 2025 à 18:46, Dima Pasechnik <[email protected] 
>>>>> <mailto:[email protected]>> a écrit :
>>>>> 
>>>>> indeed, with bliss installed, in logs/install.log you should see
>>>>> 
>>>>> [sagelib-10.8.beta5] [spkg-install]   Library bliss found: YES
>>>>> ...
>>>>> [sagelib-10.8.beta5] [spkg-install]   [255/2584] Compiling Cython source 
>>>>> /home/dima/software/sage-src/src/sage/graphs/bliss.pyx
>>>>> ...
>>>>> [sagelib-10.8.beta5] [spkg-install]   [834/2584] Compiling C++ object 
>>>>> src/sage/graphs/bliss.cpython-313-x86_64-linux-gnu.so.p/meson-generated_src_sage_graphs_bliss.pyx.cpp.o
>>>>> 
>>>>> so this is taken care of. We need to remove that no longer needed spkg(s).
>>>>> 
>>>>> Dima
>>>>> 
>>>>> On Sun, Oct 5, 2025 at 9:02 AM Antonio Rojas <[email protected] 
>>>>> <mailto:[email protected]>> wrote:
>>>>>> The sagemath_bliss package should no longer be necessaary: simply 
>>>>>> installing bliss and rebuilding sagelib should compile the bliss 
>>>>>> extension.
>>>>>> 
>>>>>> El domingo, 5 de octubre de 2025 a las 15:20:23 UTC+2, 
>>>>>> [email protected] <mailto:[email protected]> escribió:
>>>>>> another issue on macOS 15.6.1, after brew upgrade, distclean and a full 
>>>>>> recompilation of sage. 
>>>>>> I was able to install optional packages benzene, buckygen, dot2tex, 
>>>>>> glucose, plantri, and  csdp..
>>>>>> I fail to install bliss, tdlib and mcqd.
>>>>>> 
>>>>>> make sagemath_bliss gives:
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> 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] 
>>>>>> <mailto:[email protected]>.
>>>>>> To view this discussion visit 
>>>>>> https://groups.google.com/d/msgid/sage-release/e74fdc6e-02b8-490e-b963-634a33cb511dn%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/sage-release/e74fdc6e-02b8-490e-b963-634a33cb511dn%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 [email protected] 
>>>>> <mailto:[email protected]>.
>>>>> To view this discussion visit 
>>>>> https://groups.google.com/d/msgid/sage-release/CAAWYfq2BQ0Gk7Eiq7K5N32AHNr3D8_iHLT-NicZsLRpMgdv-tg%40mail.gmail.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/sage-release/CAAWYfq2BQ0Gk7Eiq7K5N32AHNr3D8_iHLT-NicZsLRpMgdv-tg%40mail.gmail.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 [email protected] 
>>>> <mailto:[email protected]>.
>>>> To view this discussion visit 
>>>> https://groups.google.com/d/msgid/sage-release/ABA41854-2FF6-4975-B7AF-80D723923D9A%40gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/sage-release/ABA41854-2FF6-4975-B7AF-80D723923D9A%40gmail.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 [email protected] 
>>> <mailto:[email protected]>.
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/sage-release/CAAWYfq3YkQiavoWcAZ_Wu4nvpk0of7asZjP-hewAE-%2BbTuqgVw%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/sage-release/CAAWYfq3YkQiavoWcAZ_Wu4nvpk0of7asZjP-hewAE-%2BbTuqgVw%40mail.gmail.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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/sage-release/534B777A-FEC0-4545-AE2A-BBC07CFC8AD8%40gmail.com
>  
> <https://groups.google.com/d/msgid/sage-release/534B777A-FEC0-4545-AE2A-BBC07CFC8AD8%40gmail.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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-release/BE77951D-3673-4E1C-91E3-8CE6569F53B5%40gmail.com.

Reply via email to