Skip to content

problem getting gintrospection to run #2

@grindhold

Description

@grindhold

although i got gintrospection to compile against a modern php7.0-environment,
i have problems executing the import_namespace.php example

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/gintrospection.so' - /usr/lib/php/20151012/gintrospection.so: undefined symbol: ce_glib_enum in Unknown on line 0
PHP Fatal error:  Uncaught Error: Class 'Gir\Repository' not found in /home/grindhold/phpgo/gintrospection/examples/import_namespace.php:4

i created ini-files for glib, gobject and gintrospection in the following fashion to ensure that they are being loaded in the right order:

20-glib.ini
21-gobject.ini
22-gintrospection.ini

Also the file /usr/include/php/buildnr/glib/php_glib_public.h exports the ce_glib_enum symbol. any idea what i am doing wrong? or are there more incompatibilities that I have to take into account with php7.0?

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