Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zookeeper.h: No such file or directory #1

Closed
jerryajay opened this issue May 11, 2015 · 4 comments
Closed

zookeeper.h: No such file or directory #1

jerryajay opened this issue May 11, 2015 · 4 comments

Comments

@jerryajay
Copy link

I tried running the example code as stated in the README.md . I always keep getting this error no matter how much I try resolving it.
jerry@jerry-OptiPlex-790:~/Desktop/experiment/go$ go install github.com/jerryant/clusters

launchpad.net/gozk/zookeeper

src/launchpad.net/gozk/zookeeper/zk.go:15:23: fatal error: zookeeper.h: No such file or directory
#include <zookeeper.h>
                                     ^
compilation terminated.

@coolbrg
Copy link

coolbrg commented Jun 24, 2015

I had the same error for launchpad.net/gozk package.
I seems that Ubuntu is missing its required dev package libzookeeper-mt-dev

sudo apt-get install libzookeeper-mt-dev

After installing above, go get launchpad.net/gozk works fine.

@jianfengye
Copy link

if in centos, u can first install cloudera-cdh5.repo, then yum install zookeeper-native

@stremovskyy
Copy link

On Mac?

@premal
Copy link

premal commented Nov 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants