Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem getting gintrospection to run #2

Open
grindhold opened this issue Sep 16, 2017 · 0 comments
Open

problem getting gintrospection to run #2

grindhold opened this issue Sep 16, 2017 · 0 comments

Comments

@grindhold
Copy link

grindhold commented Sep 16, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant