postgres-decoderbufs-master-centos7

时间:2018-09-13 13:46:10

标签: postgresql apache-kafka protocol-buffers debezium

我正在尝试通过postgres 9.6的debezium protobuf进行CDC,并且按照说明,我已从git下载源,并试图使其出现问题,然后尝试在satckoverflow和其他站点上找到解决方案,然后针对ubuntu os有许多解决方案可用,但对于centosh 7找不到解决方案

我触发make命令时会出现以下错误

/usr/pgsql-9.6/lib/pgxs/src/makefiles/pgxs.mk:62: /usr/pgsql-9.6/lib/pgxs/src/makefiles/../../src/Makefile.global: No such file or directory
Package libprotobuf-c was not found in the pkg-config search path.
Perhaps you should add the directory containing `libprotobuf-c.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libprotobuf-c' found
/usr/pgsql-9.6/lib/pgxs/src/makefiles/pgxs.mk:105: /src/Makefile.shlib: No such file or directory
make: *** No rule to make target `/src/Makefile.shlib'.  Stop.

如果有帮助的话,对我的项目非常有用。

1 个答案:

答案 0 :(得分:1)

您需要安装一个protobuf-c-devel软件包。版本也有问题。检查您的系统是否具有正确的版本,否则您需要从第三部分RPM存储库-https://groups.google.com/forum/?fromgroups=#!msg/debezium/v0s3tacOXeA/gVrdQAR2AgAJ;context-place=forum/debezium

中进行安装