0

我正在尝试通过 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.

如果有任何帮助,它将对我的项目非常有用。

4

1 回答 1

1

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

于 2018-09-14T04:14:22.600 回答