Skip to content

FFI\\Exception(code: 0): Failed loading 'libvips.42.dylib' after upgrade to v2 on M1 Mac #178

Closed
@johnvoncolln

Description

@johnvoncolln

Have read through this issue and tried everything, but haven't had any luck...

[2022-12-05 16:49:29] local.ERROR: Failed loading 'libvips.42.dylib' {"userId":1245,"exception":"[object] (FFI\\Exception(code: 0): Failed loading 'libvips.42.dylib' at ...vendor/jcupitt/vips/src/FFI.php:739)
[stacktrace]
.../vendor/jcupitt/vips/src/FFI.php(739): FFI::cdef('// we need the ...', 'libvips.42.dyli...')
.../vendor/jcupitt/vips/src/FFI.php(116): Jcupitt\\Vips\\FFI::init()
/vendor/jcupitt/vips/src/Utils.php(100): Jcupitt\\Vips\\FFI::vips()
/vendor/jcupitt/vips/src/Image.php(709): Jcupitt\\Vips\\Utils::filenameGetFilename('/private/var/tm...')

I've enabled FFI as instructed.

I've removed the older vips php extension.

libvips is 8.13.3

php-vips is 2.1.0

php is 8.1

Any ideas on things I can try to troubleshoot? All out of ideas at the moment.

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