libvips / php-vips

php binding for libvips
MIT License
615 stars 25 forks source link

Unable to Load libvips Library on Windows and Dependency Workaround #246

Open CodeWithKyrian opened 2 months ago

CodeWithKyrian commented 2 months ago

WHen I try loading the libvips library in Windows, there are errors about being unable to load the libvips library. I used the libraries from May so I don't see why I should be encountering this issue. I tried them all- web and all.

This may be unrelated, but I’ve noticed that the FFI instance for libvips differs from that of libglib and libgobject on Windows only not others. So I can't even use the *-static builds in that repository.

Interestingly, if I use the *-static build, and duplicate the libvips-42.dll twice then renaming them to libgobject-2.0-0.dll and libglib-2.0-0.dll respectively, everything works as expected.

Any insights or recommendations on resolving this issue without resorting to these workarounds would be greatly appreciated. Is there still a reason to load the libgobject seperately from libvips at this point?