Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2024 14:57:44 +0100
From:      void <void@f-m.fm>
To:        freebsd-ports@freebsd.org
Subject:   ld-elf.so.1: /usr/local/lib/php/20210902/mbstring.so: Undefined symbol "pcre2_compile_8"
Message-ID:  <ZlCc2KVjMvDX791N@int21h>

next in thread | raw e-mail | index | archive | help
Hello,

This has started happening again [ possibly related to
https://lists.freebsd.org/archives/freebsd-ports/2023-December/005009.html 
it looks similar ]

Differences:
php-fpm and *not* mod_php
php81-8.1.28
apache24-2.4.59
13.2-RELEASE-p11 

To "fix" the problem, i force rebuilt just php81-mbstring-8.1.28 and 
pcre2-10.43 and reinstalled. apache24 was still able to run.
Service restart php-fpm was all OK.

About 12 hrs later (when apache does a graceful restart) it failed to
restart, giving the error

"ld-elf.so.1: /usr/local/lib/php/20210902/mbstring.so: Undefined symbol 
"php_pcre2_compile"" in httpd-errors.

I then went to the poudriere instance and deleted all php.
Then edited the make.conf for that poudriere instance like so:

OPTIONS_UNSET+=PCRE
OPTIONS_SET+=PCRE2

and rebuilt, then force-installed php plus mbstring and pcre2, and 
started apache and it was able to start.
Then ran apachectl graceful and it came back.

Has something happened to apache24/php/mbstring/pcre/pcre2 over the last month?
Nothing in /usr/ports/UPDATING

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZlCc2KVjMvDX791N>