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

libffi-dev missing #15

Open
skylerknecht opened this issue Dec 5, 2023 · 0 comments
Open

libffi-dev missing #15

skylerknecht opened this issue Dec 5, 2023 · 0 comments

Comments

@skylerknecht
Copy link

Executing docker compose build on Debian 11.7 failed with the following error;

23.18       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.10 -c src/c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-310/src/c/_cffi_backend.o
23.18       src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
23.18          15 | #include <ffi.h>
23.18             |          ^~~~~~~
23.18       compilation terminated.
23.18       error: command '/usr/bin/gcc' failed with exit code 1
23.18       [end of output]

Adding libffi-dev to the Dockerfile for each application remediatied the issue.

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

No branches or pull requests

1 participant