Zookeeper C端编译

下载 zookeeper tar包

解压 

yum install autoconf automake libtool

yum install -y cppunit-devel

yum install -y ant

⼀旦安装了所有必需的⼯具,你可以采⽤以下⽅式构建ZooKeeper的
库:
ant compile-native
当构建完成,你可以在build/c/build/usr/lib中发现链接库⽂件,在
build/c/build/usr/include/zookeeper发现你所需要的头⽂件。

https://blog.csdn.net/jinguangliu/article/details/87191236

原文地址:https://www.cnblogs.com/132818Creator/p/14067032.html