Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9m67-0005M1-N4 for pgsql-general@arkaria.postgresql.org; Fri, 08 Jul 2022 11:24:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o9m66-0004hW-FD for pgsql-general@arkaria.postgresql.org; Fri, 08 Jul 2022 11:24:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9m66-0004hM-4d for pgsql-general@lists.postgresql.org; Fri, 08 Jul 2022 11:24:34 +0000 Received: from smtp.burggraben.net ([88.198.69.140]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o9m63-0002PD-Ni for pgsql-general@lists.postgresql.org; Fri, 08 Jul 2022 11:24:33 +0000 Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "R3" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id A2D1BC00316; Fri, 8 Jul 2022 13:24:30 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 24E533AB07; Fri, 8 Jul 2022 13:24:30 +0200 (CEST) Date: Fri, 8 Jul 2022 13:24:30 +0200 From: Christoph Moench-Tegeder To: ml@ft-c.de Cc: pgsql-general@lists.postgresql.org Subject: Re: postgresql bug Message-ID: References: <0bad2e1585867d20d2bc8e16a8a553f96c3f7997.camel@ft-c.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0bad2e1585867d20d2bc8e16a8a553f96c3f7997.camel@ft-c.de> User-Agent: Mutt/2.2.6 (2022-06-05) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ## ml@ft-c.de (ml@ft-c.de): > /usr/local/bin/postgres -V > ld-elf.so.1: Shared object "libicui18n.so.70" not found, required by > "postgres" You screwd up your upgrades: that postgres binary was built against ICU 70, but as hou have shown you have ICU 71 installed: > find / -name "*libicui*" > /usr/local/lib/libicuio.a > /usr/local/lib/libicui18n.so.71 > /usr/local/lib/libicuio.so.71.1 > /usr/local/lib/libicui18n.so.71.1 > /usr/local/lib/compat/pkg/libicui18n.so.68.2 > /usr/local/lib/compat/pkg/libicuio.so.68 > /usr/local/lib/compat/pkg/libicuio.so.68.2 > /usr/local/lib/compat/pkg/libicui18n.so.68 And that looks like you're using portupgrade - in which case you need to chase a lot of shared library dependencies yourself. pkg_libchk from ports-mgmt/bsdadminscripts2 may help a little with that, but it's still an error-prone process and a lot of toil. For that reason I'd recommend either using packages (from the official builds) or setting up your own poudriere; all other options will cost you a lot of time and nerves and require a lot more knowledge and manual intervention than "simple updates" are supposed to in 2022. Regards, Christoph -- Spare Space