Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build from source for RHEL9 #605

Open
artemsafiyulin opened this issue Jul 26, 2023 · 2 comments
Open

Build from source for RHEL9 #605

artemsafiyulin opened this issue Jul 26, 2023 · 2 comments

Comments

@artemsafiyulin
Copy link

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

@fukanchik
Copy link

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.

@asavchkov
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants