From nobody Tue May 28 09:32:11 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VpS3C0lwrz5LrMt for ; Tue, 28 May 2024 09:32:23 +0000 (UTC) (envelope-from SRS0=ERCc=M7=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VpS3B0kG8z49sy for ; Tue, 28 May 2024 09:32:22 +0000 (UTC) (envelope-from SRS0=ERCc=M7=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quip.cz header.s=private header.b=b5fO8tDq; dkim=pass header.d=quip.cz header.s=private header.b=1zqdaoR9; dmarc=none; spf=none (mx1.freebsd.org: domain of "SRS0=ERCc=M7=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=ERCc=M7=quip.cz=000.fbsd@elsa.codelab.cz" Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id CD017D7889 for ; Tue, 28 May 2024 11:32:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1716888733; bh=StEvzK1GepVCDof8B9mj1UqbHTLBCDbsNKH7dIUx220=; h=Date:Subject:To:References:From:In-Reply-To; b=b5fO8tDqGwXpXecGlTywgFBNqdL82Y9EdHGS5r8LWX1/GaniaOfWysba5U4ZlaEtU vPKOqGqpkt11+9dUubjS2pcm/MibhQaBJRkp9hCpYdEMWuZHj0WmffcybrXIrqZRfJ FUDcRITIMextq7ktV+coXTVte8kk+pT+ZSxMWdmA= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 3EC14D7890 for ; Tue, 28 May 2024 11:32:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1716888732; bh=StEvzK1GepVCDof8B9mj1UqbHTLBCDbsNKH7dIUx220=; h=Date:Subject:To:References:From:In-Reply-To; b=1zqdaoR9N/NGs1FUOWw5804rCzapgYEKQqgvAW5cFPibe1cWE6esMC8f8lCrWZcm3 +usbP4m7rXZKHgMIcjXNIUuj08bRQzTvD33Jch2LyLwYTmps24uAMM/1WhbdSYVg4K L6VxQADGNS4DfUu1nKpzH1G6KPCsUSdc4p1T2KMw= Message-ID: <8f8cda9f-cfe9-442f-acf3-d32d832d8d48@quip.cz> Date: Tue, 28 May 2024 11:32:11 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ld-elf.so.1: /usr/local/lib/php/20210902/mbstring.so: Undefined symbol "pcre2_compile_8" To: freebsd-ports@freebsd.org References: Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=ERCc=M7=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_ALLOW(-0.20)[quip.cz:s=private]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[quip.cz]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=ERCc=M7=quip.cz=000.fbsd@elsa.codelab.cz]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DKIM_TRACE(0.00)[quip.cz:+] X-Rspamd-Queue-Id: 4VpS3B0kG8z49sy On 24/05/2024 15:57, void wrote: > 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. Are you sure you didn't had mod_php installed and configured in httpd.conf? If PHP runs as php-fpm Apache cannot see these error and cannot failed to (re)start because it is only connecting to TCP port of unix domain socket of running PHP daemon. Kind regards Miroslav Lachman