zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: ImportError zookeeper python binding
Date Thu, 26 Apr 2012 16:59:30 GMT
Take a look at my setup instructions for zk-smoketest and see if that
helps: http://bit.ly/IRG1Ks

Patrick

On Thu, Apr 26, 2012 at 6:21 AM, guru singh <grsingh750@gmail.com> wrote:
> Hi,
>
> I'm new to zookeeper. I want use it to build a master-election service
> for redis.
> There is a python binding in the contrib/ folder. I followed all the
> steps in the README,
> the module installs but when I try to import zookeeper, I get this error:
>
> ImportError: libzookeeper_mt.so.2: cannot open shared object file: No
> such file or directory.
>
> I looked through the archives and noticed others had this problem way back.
> These are the steps I took :
>
> 1) download and untar zookeeper-3.3.5
> 2) cd zookeeper-3.3.5/
> 3) ant
> 4) cd zookeeper-3.3.5/src/c
> 5) autoreconf -if
> 6) ./configure
> 7) make && make install
> 8) cd zookeeper-3.3.5/src/contrib/zkpython
> 9) ant install
> If i run 'ant test' here I get no errors either.
>
>  libzookeeper_mt.so.2 is in /usr/local/lib/
>
> Is there something I'm doing wrong? Is anybody else using the python
> binding included with zookeeper-3.3.5?
>
> Thanks
> gurteshwar

Mime
View raw message