我正试图通过Postgres9.6的debezium protobuf进行cdc,按照说明,我已经从git下载了源代码,并试图使它有一些问题,并试图在satckoverflow和其他网站上找到解决方案,然后对于ubuntu操作系统,许多解决方案都可用,但对于Centosh7没有找到解决方案
启动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条答案
按热度按时间5lwkijsr1#
您需要安装protobuf-c-devel包。版本也有问题。检查您的系统是否有正确的版本,否则您需要从第三部分rpm存储库安装-https://groups.google.com/forum/?fromgroups=#!msg/debezium/v0s3tacoxea/gvrdqar2agaj;context place=论坛/debezium