【问题标题】:postgres-decoderbufs-master -- centos7postgres-decoderbufs-master -- centos7
【发布时间】:2019-02-18 06:33:11
【问题描述】:

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

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

【问题讨论】:

    标签: postgresql apache-kafka protocol-buffers debezium


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-15
      • 1970-01-01
      • 2015-09-17
      • 1970-01-01
      • 1970-01-01
      • 2015-07-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多