pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: spacexnasafbi@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16488: psql installation initdb
Date: Tue, 09 Jun 2020 11:10:20 -0400
Message-ID: <2210340.1591715420@sss.pgh.pa.us> (raw)
In-Reply-To: <16488-5e6d0d7e72e3b591@postgresql.org>
References: <16488-5e6d0d7e72e3b591@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> 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





view thread (5+ messages)  latest in thread

Message-ID: <2210340.1591715420@sss.pgh.pa.us>
Permalink:  ../2210340.1591715420@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2210340.1591715420@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, spacexnasafbi@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16488: psql installation initdb
  In-Reply-To: <2210340.1591715420@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox