php-vips icon indicating copy to clipboard operation
php-vips copied to clipboard

Unable to Load libvips Library on Windows and Dependency Workaround

Open CodeWithKyrian opened this issue 6 months ago • 0 comments

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?

CodeWithKyrian avatar Aug 29 '24 06:08 CodeWithKyrian