https://www.freshports.org/textproc/libxml2/
# pkg upgrade pkg[47502]: libxml2 upgraded: 2.9.12 -> 2.9.13 # /usr/local/etc/rc.d/php-fpm start Performing sanity check on php-fpm configuration: ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.4.30 required by /usr/local/sbin/php-fpm not defined /usr/local/etc/rc.d/php-fpm: WARNING: failed precmd routine for php_fpm # ls /usr/local/lib/libxml2.so* libxml2.so libxml2.so.2 libxml2.so.2.9.13
この不具合
263094 – textproc/libxml2: incorrect LIBXML_VERSION_STRING in 2.9.13
portsから再インストールで直る (autotools未インストールの場合)
# portsnap fetch # portsnap update # cd /usr/ports/textproc/libxml2 # make # make reinstall pkg[97949]: libxml2 reinstalled: 2.9.13 -> 2.9.13 pkg-static[98223]: libxml2-2.9.13 deinstalled pkg-static[98302]: libxml2-2.9.13_2 installed # /usr/local/etc/rc.d/php-fpm start Performing sanity check on php-fpm configuration: NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful Starting php_fpm.
autotoolsインストール済の場合は
https://gitlab.gnome.org/GNOME/libxml2/-/commit/94ac5e61f399759a5463c0505099222ed8f13a82
の修正を適用すれば直るはず