Skip to content

PHP Startup: Unable to load dynamic library 'swoole' #61

@alec-superfile

Description

@alec-superfile

On start up of the alpine variant of the swoole image we get the following warning:

Warning: PHP Startup: Unable to load dynamic library 'swoole' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20240924/swoole (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20240924/swoole: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20240924/swoole.so (Error loading shared library liburing.so.2: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20240924/swoole.so))) in Unknown on line 0

We have been using 6.0.2 for a while now and upgrading to 6.1 does not solve the issue. If swoole used semantic versioning on their images and preferably immutable tags so issues like this don't happen again. We'll be updating our images to use digests from now on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions