在Centos 7.1上为Cassandra安装PHP驱动程序扩展时“无法加载libuv”

时间:2015-10-12 19:25:04

标签: cassandra datastax-php-driver

checking for uv_version in -luv... no
configure: error: Unable to load libuv
ERROR: `/var/tmp/cassandra/configure' failed

enter image description here

1 个答案:

答案 0 :(得分:1)

CentOS软件包,libuv尚未在CentOS 7的回购中提供。 (pramberger.repo拥有CentOS 5,CentOS 6的libuv。)

从Fedora 22 SRPM,libuv-1.4.0-1.fc22.src.rpm构建CentOS 7软件包很容易 http://dl.fedoraproject.org/pub/fedora/linux/releases/22/Everything/source/SRPMS/l/libuv-1.4.0-1.fc22.src.rpm

$ rpmbuild -bb libuv.spec

..或者你可以使用我的结果,{libuv-1.4.0-1.el7.centos.x86_64.rpm,libuv-devel-1.4.0-1.el7.centos.x86_64.rpm,libuv-static -1.4.0-1.el7.centos.x86_64.rpm}。

一个tar文件中的所有三个包“libuv-1.4.0-1.el7.centos.x86_64.tar”: https://drive.google.com/file/d/0B7S255p3kFXNTUlwOTFTQkJ1V28/view?usp=sharing

安装libuv软件包:1)$ cd libuv-1.4.0-1.el7.centos.x86_64/

2)# yum install *.rpm