Closed
Description
Hey! My issue is actually the same as #145, but I can't resolve it.
Error Message
[SYSLOG] [333]: [172.18.0.1][-][-][error][FFI\Exception] FFI\Exception: Failed resolving C function 'vips_error_buffer_copy' in /app/app/vendor/jcupitt/vips/src/FFI.php:731
[SYSLOG] [333]: Stack trace:
[SYSLOG] [333]: #0 /app/app/vendor/jcupitt/vips/src/FFI.php(731): FFI::cdef('// we need the ...', 'libvips.so.42')
System
- Docker with PHP 7.4, Debian GNU/Linux 10
- vips working on the command line
- Vips version: vips-8.7.4-Sat Nov 21 16:50:57 UTC 2020
- php-vips installed via composer
I'm just trying to call $image = Vips\Image::thumbnail('../some-image.svg', 128);
Steps I tried
- I tried to install vips with apt and also downloaded and build it myself - the issue is the same. I also tried the re-install mentioned in I get: Uncaught FFI\Exception: Failed resolving C function 'vips_error_buffer_copy' #145
- I debugged FFI.php from php-vips, the library can be found
- The issue happens in FFI.php line 731
AFAIK this means that vips_error_buffer_copy is not available in the loaded C-ABI library. From the release logs of vips that method was added in VIPS 8.9.0, but your documentation says php-vips is for vips 8.7. For me this looks like a version mismatch.
Metadata
Metadata
Assignees
Labels
No labels