Skip to content

MSCL pre-built package compilation error #497

@ellliewilson

Description

@ellliewilson

Describe the bug
Importing the v0.65 MSCL pre-built package for Raspbian currently linked in opensourceleg/sensors/imu.py fails with an ImportError when on a Raspberry Pi 5 running a 64-bit kernel.

To Reproduce
Steps to reproduce the behavior:

  1. Install the MSCL Python package following the documentation.
  2. Run the following commands in Python:
import sys
sys.path.append("/usr/share/python3-mscl")
import mscl
  1. Observe the ImportError.

Screenshots

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/python3-mscl/mscl.py", line 15, in <module>
    import _mscl
ImportError: /usr/share/python3-mscl/_mscl.so: ELF load command address/offset not page-aligned

Additional context
Installing and running the arm64/python version of the MSCL library from the v67.1.0 release resolves the issue:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions