问题描述
- go get zeromq4.0.5出现libzmq.pc错误
- go get -tags zmq_4_x github.com/alecthomas/gozmq
出现如下错误:pkg-config --cflags libzmq libzmq libzmq libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containinglibzmq.pc'
libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containinglibzmq.pc'
libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
pkg-config: exit status 1操作系统:WIN7 32bit
Golang:1.4.1
Zeromq:4.0.5,用的是官方自带windows installer,应该是已经正确安装。
在zeromq的安装目录下面,根本就没找到libzmq.pc文件。看网上说,这个在Linux下面会有,难道说要用go来开发zeromq只能是去Linux下面,不用用window??
解决方案
http://bbs.csdn.net/topics/390204195