Re: BUG #16488: psql installation initdb - Mailing list pgsql-bugs

From baki baki
Subject Re: BUG #16488: psql installation initdb
Date
Msg-id CAPhkgVVSDjEcA5UooZGOuy=P2nt50jAHQ6LyztEX3Y46sF+SSw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16488: psql installation initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #16488: psql installation initdb
List pgsql-bugs
No, I don't.  
Idont no I use thunar as file manager
So how do I install libcu 
And things the right way 

On Jun 9, 2020 5:10 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
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

pgsql-bugs by date:

Previous
From: Kyle Kingsbury
Date:
Subject: Re: Potential G2-item cycles under serializable isolation
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: BUG #15285: Query used index over field with ICU collation insome cases wrongly return 0 rows