php: module php80-pecl-imagick fails to load
Hi, unsure if this is the right place; tested on both hbsd 12 and 13, you get hard errors very easily. To reproduce, install php80-pecl-imagick
and run php
. An error like this will pop up:
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/20200930/imagick.so (/usr/local/lib/php/20200930/imagick.so: Undefined symbol "instanceof_function_ex"), /usr/local/lib/php/20200930/imagick.so.so (Cannot open "/usr/local/lib/php/20200930/imagick.so.so")) in Unknown on line 0
This might be related to this bug in FreeBSD ports: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256557 however I tried to do the same thing on FreeBSD, and there the module can actually be loaded (although it will spot out many warnings), whereas in hbsd it cannot be loaded at all.