Skip to content

Version incompatibility with VIPS < 8.9.0 - FFI\Exception: Failed resolving C function 'vips_error_buffer_copy' in /app/app/vendor/jcupitt/vips/src/FFI.php:731 #162

Closed
@Waschnick

Description

@Waschnick

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

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions