mbstring.so: Undefined symbol "php_pcre2_compile" apache24 & php81
Date: Mon, 11 Dec 2023 03:44:37 UTC
Hi, apache will not start (service apache24 start) and this appears in httpd-error.log: ld-elf.so.1: /usr/local/lib/php/20210902/mbstring.so: Undefined symbol "php_pcre2_compile" This error appeared after upgrade from php81-8.1.25 to php81-8.1.26_1 and all dependencies. The error persists after rebuilding all php ports with poudriere bulk -j 132Ramd64 -O sccache -C -f php-portslist.txt more context: apache24-2.4.58_1 # freebsd-version -kru 13.2-RELEASE-p4 13.2-RELEASE-p4 13.2-RELEASE-p7 all ports are built in poudriere-devel: [00:00:00] Ports top last git commit: 5f216700cef7 [00:00:00] Ports top unclean checkout: no [00:00:00] Port dir last git commit: b1cda123f8e7 [00:00:00] Port dir unclean checkout: no [00:00:00] Poudriere version: poudriere-git-3.4.99.20231113 [00:00:00] Host OSVERSION: 1500003 [00:00:00] Jail OSVERSION: 1302001 The following php extensions are installed: # php -m [PHP Modules] apcu bz2 Core ctype curl date dom filter gd gmp hash iconv intl json libxml mbstring mysqli mysqlnd openssl pcre PDO pdo_mysql Phar Reflection session SimpleXML SPL standard tokenizer uploadprogress xml Zend OPcache zip zlib [Zend Modules] Zend OPcache --