I’m building gvmd 20.08.1 against postgresql 11 (that’s the version I’m using). However, for some reason, while building gvmd, it says installed postgresql version is 13:
– Looking for PostgreSQL…
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
- Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found*
- version “13.1 (Ubuntu 13.1-1.pgdg18.04+1)”)*
While installed postgresql packages are:
ii postgresql-11 11.9-1.pgdg18.04+1 amd64 object-relational SQL database, version 11 server
ii postgresql-client-11 11.10-1.pgdg18.04+1 amd64 front-end programs for PostgreSQL 11
ii postgresql-client-common 217.pgdg18.04+1 all manager for multiple PostgreSQL client versions
ii postgresql-common 217.pgdg18.04+1 all PostgreSQL database-cluster manager
ii postgresql-server-dev-11 11.10-1.pgdg18.04+1 amd64 development files for PostgreSQL 11 server-side programming
But gvmd picks header files from libpq-dev; which is recognized at version 13:
ii libpq-dev 13.1-1.pgdg18.04+1 amd64 header files for libpq5 (PostgreSQL library)
Since all of this are installed through official postgresql repos; I don’t understand this versioning. Why does postgresql-11 ships with libpq-dev-13 and does it have any impact on GVMD ? (since gvmd is recommended to use with postgresql-11)
I’m asking because I’m experiencing many lags & slownesses which may be linked to the fact gvmd not using the right postgresql version.
Any clarification would be helpful.