-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
Hello, after you have closed #101, I tried to add c2pa-python==0.10.0 to my CI workflow.
I am getting an import error specifically on an AWS graviton instance (ARM64 based).
RuntimeError: Could not find libc2pa_c.so in any of the search paths
Here is a minimal example representing my CI Dockerfile:
FROM python:3.12-slim-bookworm
RUN apt-get update
RUN pip install --upgrade pip
RUN pip install c2pa-python==0.10.0
CMD python -c "import c2pa; print('c2pa imported')"
- this dockerfile works fine on
x86architecture - this dockerfile reproduces the error when running on
arm64architecture
I have limited knowledge about rust and cpu architectures so I am not sure how to deal with this problem or what actually causes it. Is there anything I can do to fix it on my end?
Side note:
I also have a macos machine with arm64 architecture where the
c2pa-python==0.10.0package just works natively. So I guess there is not a big issue with the architecture itself, just with the build process for linux.