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

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

Open
CodeWithKyrian opened this issue Aug 29, 2024 · 1 comment · May be fixed by #263
Open

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

CodeWithKyrian opened this issue Aug 29, 2024 · 1 comment · May be fixed by #263

Comments

@CodeWithKyrian
Copy link

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?

kleisauke added a commit to kleisauke/php-vips that referenced this issue Feb 21, 2025
@kleisauke
Copy link
Member

I can't even use the *-static builds in that repository.

I just opened PR #263 for this.

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

Successfully merging a pull request may close this issue.

2 participants