@Marvin, welcome to the community forums. I assume, you are building from source on Tumbleweed or other flavor of OpenSUSE?
Which version of postgresql is the system using before you starting the installation? I have to rely on @phillxnet to confirm that this is still required or not, but there seemed to have been a similar issue early on related to the postgresql version used by default:
in this post:
and specifically here:
Take a look and see whether helps address your issue.