Hi,
This is just the way the Linux install's software.
I think you installed only postgres-server...
And yes you probably need a lot of header files (often residing the in the
'*-dev' packages).
But have a look into:
https://github.com/qgis/QGIS/blob/master/INSTALL.md
There is a lot of info
Hello,
I'm new to QGIS and this is my first try at installing it (using cmake). My
system is running Ubuntu 20.04 so I used apt to install PostgreSQL. apt decided
that the way to go was to install all the components at the
/usr/lib/postgresql/12 subdirectory, where it created 2 subdirectories