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 1jiftR-0000yu-Ii for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jun 2020 15:10:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jiftQ-0004y8-DX for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jun 2020 15:10:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiftQ-0004y0-6U for pgsql-bugs@lists.postgresql.org; Tue, 09 Jun 2020 15:10:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiftO-0006nx-4U for pgsql-bugs@lists.postgresql.org; Tue, 09 Jun 2020 15:10:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 059FAKel2210341; Tue, 9 Jun 2020 11:10:20 -0400 From: Tom Lane To: spacexnasafbi@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16488: psql installation initdb In-reply-to: <16488-5e6d0d7e72e3b591@postgresql.org> References: <16488-5e6d0d7e72e3b591@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Tue, 09 Jun 2020 06:58:43 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2210339.1591715420.1@sss.pgh.pa.us> Date: Tue, 09 Jun 2020 11:10:20 -0400 Message-ID: <2210340.1591715420@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > when i type this command this happens : initdb --locale en_US.UTF-8 -D > /var/lib/postgres/data/data > /usr/bin/postgres: error while loading shared libraries: libicui18n.so.67: > cannot open shared object file: No such file or directory Well, that seems pretty straightforward: you don't have libicui18n, or at least you don't have the right version of it. Does ls /usr/lib*/libicui18n* show anything? I don't know anything about blackarch but on a Fedora 32 box I see /usr/lib64/libicui18n.so.65 /usr/lib64/libicui18n.so.65.1 If you don't see anything, perhaps you just need to install libicu. If you do but it's not version 67, then you have a version-skew problem, and you might have to recompile Postgres to make it work with the libicu version that your distro provides. Either way, I wonder how you got into this situation. Any reasonable package manager would have insisted on installing a compatible libicu version along with Postgres. Did you override such warnings at install? regards, tom lane