Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added --with-shared when compiling on Alpine #30

Closed
wants to merge 1 commit into from

Conversation

radarhere
Copy link
Contributor

Trying to use the alpine image for pillow-wheels, I hit

ImportError: Error loading shared library libffi.so.7: No such file or directory (needed by /usr/lib/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so)

Googling, I found this error occurring for another user with Python on Alpine - jfloff/alpine-python#48.
This was solved by jfloff/alpine-python@2682e39, using --with-shared.

@radarhere radarhere closed this Mar 17, 2022
@mattip
Copy link
Contributor

mattip commented Mar 17, 2022

CI is failing.

Did you get very far with multibuild and github actions? I started a PR at MacPython/openblas-libs#73 but it is not choosing the correct docker image, it is looking for docker_image=quay.io/pypa/manylinux_1_1_x86_64. I guess I can wait for a PR to pillow-wheels and then copy it ...

@radarhere
Copy link
Contributor Author

I've created mattip/openblas-libs#2. You can see it running at https://github.com/radarhere/openblas-libs/runs/5582926768

@radarhere
Copy link
Contributor Author

For the record, my alternative solution to this problem was to create PRs adjusting Pillow (python-pillow/Pillow#6141) and setuptools (pypa/setuptools#3178) to no longer require ctypes on Linux.

@radarhere radarhere mentioned this pull request Mar 28, 2022
@radarhere
Copy link
Contributor Author

This was later properly fixed in #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants