Closed mstaack closed 3 years ago
Hi @mstaack, sorry for the late reply.
I don't know why it's failing. Is this all built with homebrew?
Yes straight m1 homebrew PHP 7.4. extension by pecl.
Any ideas to get down to the issue? Happy to help where I can.
@jcupitt upgrading to vips-8.11.1-Tue Jun 29 07:30:12 UTC 2021 solves this for me!
Huh I wonder why? Anyway, I'm very glad it's now working.
Perhaps PR https://github.com/libvips/libvips/pull/2323 resolved it? libvips formula in Homebrew doesn't configure with --enable-shared --disable-static
, so dynamic modules are not build on macOS now.
If that's the case, it's still strange why this segfault occurs with modules enabled. The only thing I can think of is that it fails during dlopen
(security enforcement features of macOS?). Note that it tries to dlopen
a .so
library instead of .dylib
due to https://gitlab.gnome.org/GNOME/glib/-/issues/1413.
hey there, i have found the vips.so extension throwing a segmentation fault on my macbook m1 (arm chip).
disabling the extension removes the segfault at the end of phpunit
php:
vips:
thank you for this awesome image library!