libvips / php-vips

php binding for libvips
MIT License
615 stars 25 forks source link

Intel Mac on OS 14.3 Getting Error: Jcupitt\Vips\FFI::libraryLoad(): Return value must be of type FFI, none returned #239

Closed johnvoncolln closed 8 months ago

johnvoncolln commented 8 months ago

I've got Vips installed, FFI set to true and getting this error. Done some research and have a solution for those who may hav a similar issue.

For whatever reason, homebrew has set the library path now to /usr/local/Cellar instead of /opt/homebrew/lib

My solution was to add /usr/local/Cellar to $PATH. I did this by opening my zsh profile and adding it to the PATH variable and now it works.

Hope this helps