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 1pgOko-00020C-0F for pgsql-admin@arkaria.postgresql.org; Sun, 26 Mar 2023 11:41:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pgOkm-0004q0-SM for pgsql-admin@arkaria.postgresql.org; Sun, 26 Mar 2023 11:41:40 +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 1pgOkk-0004pr-TG for pgsql-admin@lists.postgresql.org; Sun, 26 Mar 2023 11:41:40 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgOkf-0005hu-L1 for pgsql-admin@lists.postgresql.org; Sun, 26 Mar 2023 11:41:38 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E934F5C00BF; Sun, 26 Mar 2023 07:41:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 26 Mar 2023 07:41:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com.au; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1679830888; x= 1679917288; bh=sq9Kjj2e8O6LNBXRNggpO88p0QDMexK/LDQUB9uWz/E=; b=G isXZq/C9GBqeQEWGeG90Of7M/h6utmtKqv4ONT/YW28oLLywNHroNem3K7jUtqsg 18bzHNDkOchWje4ZPa3zdi+NfYL+nmMPmlV/6cMGdofczqbPfuPEobShyy+nVPJu jwSiZg0njCG/XzE6Ogs+4flfwhyDGufS/oN6yFbdPUYiUJikLd4XEM+8kgQfy0oB KU5XVQwVj/lJGNAANqX3S5JbkYVk4CaIVJCTLgIxF8P+ptZokXfDPxIGlf9YF4tj +p5fiACsxcOaozdCdfWSQhaxBPeyRRMGAqTDSCalPb2vH6ZoLc8Evw3IkBI7gANJ DmJs5M+BIYCa/BKl4VKnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1679830888; x=1679917288; bh=sq9Kjj2e8O6LN BXRNggpO88p0QDMexK/LDQUB9uWz/E=; b=QgYX1HHjO3+3fxm5+H3JuxhQV0F+0 yA2gjS3pSGlpJqM/lWpdDkk3twqj7AH5AK9eqXmNvML3Yf6qtpnXEf4tXSBFm8bz MNjL9t4j6mVWUmlz6Wox4ED+4lWoDXuK8FB2T5E9ytr7lWZLIgdLiGOwjPM6dxu3 /Kk/2Ts9qFRFIkxEBFrDWWEDUl19bgjNCA/Q2ycTIBhJp0U6vzzDdJiCKjOjZB3i 7Eggrv7WUfB1nTJJIyiuSdLhl4tyi3ignonJazmNgDX4Yl09FQ+jN9acCQsZA0Dl IntJvUtavKGsUmQRrt/qJ2Fm/rdaKfnX/6BNLlRXIb1EaoQbxS+/IG1mA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehtddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurheptgfkffggfgfuvfevfhfh jgesrgdtreertdefjeenucfhrhhomhepofgrthhtucfiihgssghinhhsuceomhgrthhtpg hgihgssghinhhssehfrghsthhmrghilhdrtghomhdrrghuqeenucggtffrrghtthgvrhhn peeuudehveekveefteefuddtteefteetgfevveehvdetfeelueevleetuefffefhffenuc ffohhmrghinhepuggvsghirghnrdhorhhgpdhsohhurhgtvghfohhrghgvrdhnvghtnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtpg hgihgssghinhhssehfrghsthhmrghilhdrtghomhdrrghu X-ME-Proxy: Feedback-ID: i6d194797:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Mar 2023 07:41:27 -0400 (EDT) Content-Type: multipart/alternative; boundary="------------AKQ43HQn1CNiWrm00fAYIJvW" Message-ID: Date: Sun, 26 Mar 2023 22:41:24 +1100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: Debian PostgreSQL 15 pg_createcluster - could not open collator for locale Content-Language: en-AU To: Erik Wienhold Cc: pgsql-admin@lists.postgresql.org References: <93809259-173b-9bf0-acb8-d6e0b5c06b87@fastmail.com.au> <1684230080.452693.1679762358599@office.mailbox.org> <7429705a-e70f-03d5-9ef3-c60d86d65786@fastmail.com.au> <1970524333.377932.1679805006974@office.mailbox.org> <1158764658.329568.1679823463195@office.mailbox.org> From: Matt Gibbins In-Reply-To: <1158764658.329568.1679823463195@office.mailbox.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------AKQ43HQn1CNiWrm00fAYIJvW Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 26/3/23 20:37, Erik Wienhold wrote: >> On 26/03/2023 10:26 CEST Matt Gibbins wrote: >> >> On 26/3/23 15:30, Erik Wienhold wrote: >>> ./icu-test yue-Hans >> Erik >> >> Thanks for the test code. >> >> I compiled and executed as instructed with the following result >> >> Matt >> >> __ >> >> version = 67.1 >> ucol_open >>   status = U_INVALID_FORMAT_ERROR > Okay, at least not a problem with Postgres. I wonder if libicudata is corrupt > or simply not compatible even though it's the same version according to the > filenames. Whats the hash of your libicu files? > > find /usr/lib/x86_64-linux-gnu -name 'libicu*.so*' | xargs sha256sum | sort -k2 > > I get: > > daecc24ce07ac15b77833042bd07fa5c62e8b82f5d2c38361b45fe76658b0e45 /usr/lib/x86_64-linux-gnu/libicudata.so > daecc24ce07ac15b77833042bd07fa5c62e8b82f5d2c38361b45fe76658b0e45 /usr/lib/x86_64-linux-gnu/libicudata.so.67 > daecc24ce07ac15b77833042bd07fa5c62e8b82f5d2c38361b45fe76658b0e45 /usr/lib/x86_64-linux-gnu/libicudata.so.67.1 > 0dd9fd815ec02f5052cb666433d380cb372f6016213c83b13bbf4a402b09f198 /usr/lib/x86_64-linux-gnu/libicui18n.so > 0dd9fd815ec02f5052cb666433d380cb372f6016213c83b13bbf4a402b09f198 /usr/lib/x86_64-linux-gnu/libicui18n.so.67 > 0dd9fd815ec02f5052cb666433d380cb372f6016213c83b13bbf4a402b09f198 /usr/lib/x86_64-linux-gnu/libicui18n.so.67.1 > 1702a12144088442b222fcbef1de64f319656c7b58001fdfd639b8689d6721c5 /usr/lib/x86_64-linux-gnu/libicuio.so > 1702a12144088442b222fcbef1de64f319656c7b58001fdfd639b8689d6721c5 /usr/lib/x86_64-linux-gnu/libicuio.so.67 > 1702a12144088442b222fcbef1de64f319656c7b58001fdfd639b8689d6721c5 /usr/lib/x86_64-linux-gnu/libicuio.so.67.1 > fc098d6df6825c1e46ac31d984a0c1839a514eef018b1f835b7610b00e008b92 /usr/lib/x86_64-linux-gnu/libicutest.so > fc098d6df6825c1e46ac31d984a0c1839a514eef018b1f835b7610b00e008b92 /usr/lib/x86_64-linux-gnu/libicutest.so.67 > fc098d6df6825c1e46ac31d984a0c1839a514eef018b1f835b7610b00e008b92 /usr/lib/x86_64-linux-gnu/libicutest.so.67.1 > 742eedc54a2b6b12003fbb5a71105fae1ed3062b5c2765083d5310738fc2b2b6 /usr/lib/x86_64-linux-gnu/libicutu.so > 742eedc54a2b6b12003fbb5a71105fae1ed3062b5c2765083d5310738fc2b2b6 /usr/lib/x86_64-linux-gnu/libicutu.so.67 > 742eedc54a2b6b12003fbb5a71105fae1ed3062b5c2765083d5310738fc2b2b6 /usr/lib/x86_64-linux-gnu/libicutu.so.67.1 > 650d19e2164b13dbcac1f1cd493dbc01f0e3d873086e3a718d9ca09ddd59f2fd /usr/lib/x86_64-linux-gnu/libicuuc.so > 650d19e2164b13dbcac1f1cd493dbc01f0e3d873086e3a718d9ca09ddd59f2fd /usr/lib/x86_64-linux-gnu/libicuuc.so.67 > 650d19e2164b13dbcac1f1cd493dbc01f0e3d873086e3a718d9ca09ddd59f2fd /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1 > > Maybe reinstalling libicu67 solves your issue. > > I'm out of ideas at this point. I recommend addressing your issue to Debian > or the ICU mailing list: > > https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=libicu67 > https://sourceforge.net/p/icu/mailman/ > > -- > Erik Erik Thank you for your assistance. The offending library was libicudata.so.67.1. Reinstalling  libicu67 has resolved the issue. Not sure why it wasn't upgraded as I have been doing several upgrades on the system. Matt. --------------AKQ43HQn1CNiWrm00fAYIJvW Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 26/3/23 20:37, Erik Wienhold wrote:
On 26/03/2023 10:26 CEST Matt Gibbins <matt_gibbins@fastmail.com.au> wrote:

On 26/3/23 15:30, Erik Wienhold wrote:
./icu-test yue-Hans
Erik

Thanks for the test code.

I compiled and executed as instructed with the following result

Matt

__

version = 67.1
ucol_open
   status = U_INVALID_FORMAT_ERROR
Okay, at least not a problem with Postgres.  I wonder if libicudata is corrupt
or simply not compatible even though it's the same version according to the
filenames.  Whats the hash of your libicu files?

	find /usr/lib/x86_64-linux-gnu -name 'libicu*.so*' | xargs sha256sum | sort -k2

I get:

	daecc24ce07ac15b77833042bd07fa5c62e8b82f5d2c38361b45fe76658b0e45  /usr/lib/x86_64-linux-gnu/libicudata.so
	daecc24ce07ac15b77833042bd07fa5c62e8b82f5d2c38361b45fe76658b0e45  /usr/lib/x86_64-linux-gnu/libicudata.so.67
	daecc24ce07ac15b77833042bd07fa5c62e8b82f5d2c38361b45fe76658b0e45  /usr/lib/x86_64-linux-gnu/libicudata.so.67.1
	0dd9fd815ec02f5052cb666433d380cb372f6016213c83b13bbf4a402b09f198  /usr/lib/x86_64-linux-gnu/libicui18n.so
	0dd9fd815ec02f5052cb666433d380cb372f6016213c83b13bbf4a402b09f198  /usr/lib/x86_64-linux-gnu/libicui18n.so.67
	0dd9fd815ec02f5052cb666433d380cb372f6016213c83b13bbf4a402b09f198  /usr/lib/x86_64-linux-gnu/libicui18n.so.67.1
	1702a12144088442b222fcbef1de64f319656c7b58001fdfd639b8689d6721c5  /usr/lib/x86_64-linux-gnu/libicuio.so
	1702a12144088442b222fcbef1de64f319656c7b58001fdfd639b8689d6721c5  /usr/lib/x86_64-linux-gnu/libicuio.so.67
	1702a12144088442b222fcbef1de64f319656c7b58001fdfd639b8689d6721c5  /usr/lib/x86_64-linux-gnu/libicuio.so.67.1
	fc098d6df6825c1e46ac31d984a0c1839a514eef018b1f835b7610b00e008b92  /usr/lib/x86_64-linux-gnu/libicutest.so
	fc098d6df6825c1e46ac31d984a0c1839a514eef018b1f835b7610b00e008b92  /usr/lib/x86_64-linux-gnu/libicutest.so.67
	fc098d6df6825c1e46ac31d984a0c1839a514eef018b1f835b7610b00e008b92  /usr/lib/x86_64-linux-gnu/libicutest.so.67.1
	742eedc54a2b6b12003fbb5a71105fae1ed3062b5c2765083d5310738fc2b2b6  /usr/lib/x86_64-linux-gnu/libicutu.so
	742eedc54a2b6b12003fbb5a71105fae1ed3062b5c2765083d5310738fc2b2b6  /usr/lib/x86_64-linux-gnu/libicutu.so.67
	742eedc54a2b6b12003fbb5a71105fae1ed3062b5c2765083d5310738fc2b2b6  /usr/lib/x86_64-linux-gnu/libicutu.so.67.1
	650d19e2164b13dbcac1f1cd493dbc01f0e3d873086e3a718d9ca09ddd59f2fd  /usr/lib/x86_64-linux-gnu/libicuuc.so
	650d19e2164b13dbcac1f1cd493dbc01f0e3d873086e3a718d9ca09ddd59f2fd  /usr/lib/x86_64-linux-gnu/libicuuc.so.67
	650d19e2164b13dbcac1f1cd493dbc01f0e3d873086e3a718d9ca09ddd59f2fd  /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1

Maybe reinstalling libicu67 solves your issue.

I'm out of ideas at this point.  I recommend addressing your issue to Debian
or the ICU mailing list:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=libicu67
https://sourceforge.net/p/icu/mailman/

--
Erik

Erik

Thank you for your assistance.

The offending library was libicudata.so.67.1.

Reinstalling  libicu67 has resolved the issue. 

Not sure why it wasn't upgraded as I have been doing several upgrades on the system.

Matt.


--------------AKQ43HQn1CNiWrm00fAYIJvW--