Build from source for RHEL9
I trying build pg_probackup-15 from source code for AlmaLinux 9. When start make, get next error: lto1: fatal error: bytecode stream in file ‘/usr/pgsql-15/lib/libpgcommon.a’ generated with LTO version 11.2 instead of the expected 11.3
I tried docker image "almalinux/9-base" and I see postgresql 13 and gcc 11.3.1. So I assume you have used a RPM from older release or another system which was built using a different compiler version (11.2).
Try to find a newer or native to almalinux 9 build of pg15. Another option is to downgrade your compiler.
@artemsafiyulin Packages for RHEL9-like systems are available now so you may try to use them instead of building from source. Check the installation instructions for assistance.