postgrespro/pg_pathman

docker postgres 12.5 安装时报错

farons opened this issue · 2 comments

n file included from src/init.c:14:
/pg_pathman/src/include/compat/pg_compat.h:15:10: fatal error: pg_config.h: No such file or directory
#include "pg_config.h"
^~~~~~~~~~~~~
compilation terminated.
make: *** [: src/init.o] Error 1

make USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/12/bin/pg_config

probably U need to install
postgresql-server-dev-12