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

ext-sockets won't compile in official Docker image 8.2-rc-alpine #8899

Closed
someniatko opened this issue Jun 30, 2022 · 2 comments
Closed

ext-sockets won't compile in official Docker image 8.2-rc-alpine #8899

someniatko opened this issue Jun 30, 2022 · 2 comments

Comments

@someniatko
Copy link

someniatko commented Jun 30, 2022

Description

  1. Try creating a Docker image FROM php:8.2-rc-alpine,
  2. Include there a RUN command docker-php-ext-install sockets

Its build will fail with error:

/usr/src/php/ext/sockets/sockets.c:59:12: fatal error: linux/sock_diag.h: No such file or directory
   59 | #  include <linux/sock_diag.h>
      |            ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:209: sockets.lo] Error 1

Feel free to transfer this issue to a relevant project if needed.

PHP Version

8.2

Operating System

Alpine

@devnexen
Copy link
Member

devnexen commented Jun 30, 2022

see this discussion if that helps.

@someniatko
Copy link
Author

Yeah, thank you, then it's a duplicate!

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

No branches or pull requests

3 participants