amqp及zmq扩展安装错误

在安装amqp及zmq扩展时

执行./configure --with-php-config=/srv/php-5.6.17/bin/php-config报错

checking for pkg-config... /usr/bin/pkg-config
checking libzmq installation... configure: error: Unable to find libzmq installation



解决方案:

出现这个错误 不知道如何指定zmq或amqp的安装路径 重新安装了rabbitmq-c及zeromq改为默认安装,不指定路径

即:

#./configure--prefix=/usr/local/zeromq

变更为#./configure


#./configure --prefix=/usr/local/rabbitmq-c-0.4.1

变更为#./configure


重新编译即可

猜你喜欢

转载自blog.csdn.net/cookie_1030/article/details/78053047
今日推荐