pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: ml@ft-c.de
Cc: pgsql-general@lists.postgresql.org
Subject: Re: postgresql bug
Date: Fri, 8 Jul 2022 13:24:30 +0200
Message-ID: <YsgT7iP/N2tKBd7+@elch.exwg.net> (raw)
In-Reply-To: <0bad2e1585867d20d2bc8e16a8a553f96c3f7997.camel@ft-c.de>
References: <0bad2e1585867d20d2bc8e16a8a553f96c3f7997.camel@ft-c.de>

## 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





view thread (4+ messages)

Message-ID: <YsgT7iP/N2tKBd7+@elch.exwg.net>
Permalink:  ../YsgT7iP%2FN2tKBd7+@elch.exwg.net/
Also on:    postgresql.org/message-id/YsgT7iP/N2tKBd7+@elch.exwg.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: cmt@burggraben.net, ml@ft-c.de
  Subject: Re: postgresql bug
  In-Reply-To: <YsgT7iP/N2tKBd7+@elch.exwg.net>
  References: <0bad2e1585867d20d2bc8e16a8a553f96c3f7997.camel@ft-c.de> <YsgT7iP/N2tKBd7+@elch.exwg.net>

* 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