Skip to content

ldap.so: undefined symbol: RETURN_THROWS #17146

@CarloMoretti-Repa

Description

@CarloMoretti-Repa

Description

Starting from today 2024-Dec-13 i guess after an upgrade from 7.4.3-4ubuntu2.24 to 7.4.3-4ubuntu2.26
Just run php CLI to see a warning.
for example:

php -v

Resulted in this output:

PHP Warning:  PHP Startup: Unable to load dynamic library 'ldap' (tried: /usr/lib/php/20190902/ldap (/usr/lib/php/20190902/ldap: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/ldap.so (/usr/lib/php/20190902/ldap.so: undefined symbol: RETURN_THROWS)) in Unknown on line 0
PHP 7.4.3-4ubuntu2.26 (cli) (built: Dec  4 2024 16:05:49) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.3-4ubuntu2.26, Copyright (c), by Zend Technologies

But I expected this output instead:

PHP 7.4.3-4ubuntu2.26 (cli) (built: Dec  4 2024 16:05:49) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.3-4ubuntu2.26, Copyright (c), by Zend Technologies

PHP Version

PHP 7.4.3-4ubuntu2.26 (cli)

Operating System

Ubuntu 20.04.6 LTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions