Perhaps I can be a bit more helpful - I have a standby pc on 22.04 LTS.
It has /usr/lib/postgresql/14/bin/postgres
I'll upgrade that box to 24.04 as soon as I can, though probably not before 
next weekend (other jobs needing even more urgent attention!).  And when I do, 
I'll track what happens when I run pg_upgradecluster, with careful reference to 
14/bin/postgres.

But I also note the last statement but one in the original error message:
"/usr/lib/postgresql/14/bin/postgres: error while loading shared libraries: 
libldap-2.5.so.0: cannot open shared object file: No such file or directory"

My standby pc on 22.04 has that shared library in /usr/lib/x86_64-linux-
gnu, where it is linked to libldap-2.5.so.0.1.8

The upgraded pc, on which I found that error on pg_upgradecluster, does NOT 
have that shared library file, but only
libldap.so.2 -> libldap.so.2.0.200

So I wonder whether libldap-2.5.so.0 was removed in the system upgrade
to 24.04 LTS , and whether that's the true error ??  - I'll track that
too when I upgrade the standby pc ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078494

Title:
  After upgrade to 24.04.1 LTS pg_upgradecluster fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-16/+bug/2078494/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to