Skip to content

FFI\Exception : Failed loading 'libvips.so.42' after upgrade to v2 #140

Closed
@boris-glumpler

Description

@boris-glumpler

Hello,

I've just upgraded a PHP 8.1 app from v1 to v2 and am now getting the following exception:

FFI\Exception : Failed loading 'libvips.so.42'
.../vendor/jcupitt/vips/src/Config.php:310
.../vendor/jcupitt/vips/src/Config.php:195
.../vendor/jcupitt/vips/src/Config.php:259
.../vendor/jcupitt/vips/src/Image.php:712

I've enabled FFI like so:

FFI support => enabled

Directive => Local Value => Master Value
ffi.enable => On => On
ffi.preload => no value => no value

I also removed the vips php extension, libvips is on version 8.12.2 and was installed via Homebrew.

I'd appreciate any pointers when you find some time. Thanks!

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