Skip to content

undefined symbol: zend_error_noreturn in Unknown on line 0 #1

Description

@soywiz

I have just compiled the extension with PHP 5.3.9 and I get the following error:
"Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/twig.so' - /usr/lib64/php/modules/twig.so: undefined symbol: zend_error_noreturn in Unknown on line 0"

I have compiled with the following parameters:
phpize
./configure
make
make install

And then created a "php.d/twig.ini" file with the following contents:
; Enable twig extension module
extension=twig.so

http://stackoverflow.com/questions/2556113/swig-generated-code-fails-to-run-on-php-5-3-2-undefined-symbol-zend-error-noret

I have replaced the two "zend_error_noreturn" to "zend_error" as suggested, and now it seems to not show that error.

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