Skip to content

php-ffi on windows fails to link to g_malloc and g_free #144

@jcupitt

Description

@jcupitt

Config.php tries to link to g_malloc and g_free (glib functions) in the libvips shared library. This works on linux, since it can resolve indirect dependencies, but maybe windows needs the exact shared library that contains the named function.

Experiment with directly linking to glib and gobject. ruby-vips does this and seems to work on windows.

See: https://stackoverflow.com/questions/72330264/libvips-ffi-use-on-windows-php-cannot-find-glib-functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions