Package rdkafka was not found in the pkg-config search path.
来源:互联网 发布:淘宝徐志摩诗集大全 编辑:程序博客网 时间:2024/05/17 02:06
问题
在使用confluent-kafka-go 时遇到如下问题:
$ go build t.go
# pkg-config –cflags rdkafka
Package rdkafka was not found in the pkg-config search path.
Perhaps you should add the directory containing `rdkafka.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘rdkafka’ found
pkg-config: exit status 1
解决办法:
文件~/.bashrc 末尾添加
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
使之生效:
$ source ~/.bashrc
参考:
更多信息可参考
http://blog.csdn.net/lanyang123456/article/details/78377152
阅读全文
0 0
- Package rdkafka was not found in the pkg-config search path.
- npm 安装 canvas报错:package cairo was not found in the pkg-config search path
- 解决Package fuse was not found in the pkg-config search path.
- Package opencv was not found in the pkg-config search path
- Package libvirt was not found in the pkg-config search path
- opencv was not found in the pkg-config search path
- 对于 Package gstreamer-0.10.23 was not found in the pkg-config search path. 的问题的解决
- 对于 Package gstreamer-0.10.23 was not found in the pkg-config search path. 的问题的解决
- RedHat 安装w3af,安装pyopenssl时总会出现Package libffi was not found in the pkg-config search path错误
- RedHat 安装w3af,安装pyopenssl时总会出现Package libffi was not found in the pkg-config search path错误
- node.js was not found in the default path
- 解决tomcat启动出现in production environments was not found on the java.library.path:xxx
- ERROR: libass not found using pkg-config
- ERROR: x265 not found using pkg-config
- was not found on the java.library.path
- the zipalign tool was not found in the sdk
- the zipalign tool was not found in the sdk
- the zipalign tool was not found in the sdk
- 深入理解Feign之源码解析
- 复选框 全选 反选 全不选 提交
- hashset,hashmap,hashtable区别
- C语言中引用及指针和引用的联系与区别
- 59. Spiral Matrix II
- Package rdkafka was not found in the pkg-config search path.
- java 泛型的使用
- 微信小程序 --- 子目录json配置无法改变导航栏背景颜色等配置
- JavaScript知识夯实系列-5.语句
- Redis之集群删除-yellowcong
- OoenGL配置C++成功后程序测试
- Go语言特性
- android FrameLayout响应了下层view的点击事件
- [POJ3321]Apple Tree