Skip to content

import error with bliss #40990

@dcoudert

Description

@dcoudert

Steps To Reproduce

Install bliss

./sage -i bliss
make build

Then in a sage shell trying to import a method from bliss fails.

See https://groups.google.com/g/sage-release/c/6hW5ZBQj_Uc/m/u0INpPITAQAJ

Expected Behavior

succeed

Actual Behavior

sage: from sage.graphs.bliss import canonical_form
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], 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, 0x0002): Library not loaded: @rpath/libbliss.dylib
  Referenced from: <1B010892-EE55-39FD-A23A-2110910AE985> /Users/dcoudert/sage/build/sage-distro/src/sage/graphs/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)

Additional Information

No response

Environment

  • OS: macOS 15.6.1
  • Sage Version: 10.8.beta5

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions