"Unable to load libuv" 在 Centos 7.1 上为 Cassandra 安装 PHP 驱动程序扩展

"Unable to load libuv" while installing PHP driver extension for Cassandra on Centos 7.1

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

CentOS 软件包、libuv 在 CentOS 7 的仓库中尚不可用。 (pramberger.repo 有 CentOS 5、CentOS 6 的 libuv)。

从 Fedora 22 SRPM libuv-1.4.0-1 构建 CentOS 7 软件包很容易。fc22.src.rpm 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