Skip to content

PHP 8.5: uopz.so fails to load — undefined symbol: zend_exception_get_default #195

@vielhuber

Description

@vielhuber

The php8.5-uopz package (7.1.1, from ondrej/php on Ubuntu 24.04) doesn't load under PHP 8.5.5:

PHP Warning: PHP Startup: Unable to load dynamic library 'uopz.so'
(tried: /usr/lib/php/20250925/uopz.so
(/usr/lib/php/20250925/uopz.so: undefined symbol: zend_exception_get_default))

Looks like zend_exception_get_default() was removed from the public C API somewhere between the PHP version the package was compiled against and 8.5.5. Building from source against the installed headers works fine.

Environment:

  • PHP 8.5.5 / FPM (API 20250925)
  • Ubuntu 24.04
  • php8.5-uopz 7.1.1++-5+ubuntu24.04.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions