Hi Daniel @miconda After applying this patch module is compiled ```diff diff --git a/src/modules/db_postgres/Makefile b/src/modules/db_postgres/Makefile index 2663ee751..eff11fd3a 100644 --- a/src/modules/db_postgres/Makefile +++ b/src/modules/db_postgres/Makefile @@ -14,7 +14,7 @@ LIBPQL_BUILDER = $(shell \ if pkg-config --exists libpq; then \ echo 'pkg-config libpq'; \ fi) -ifneq ($(LIBPQ_BUILDER),) +ifeq ($(LIBPQ_BUILDER),) DEFS += $(shell $(LIBPQL_BUILDER) --cflags) LIBS += $(shell $(LIBPQL_BUILDER) --libs) endif ```