-
Notifications
You must be signed in to change notification settings - Fork 101
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
How to create zookeeper.so for newer version #10
Comments
Which version of ZK are you trying to update to? |
I am trying create files for 3.4.x ( currently 3.4.10) versions. |
That's odd. When you run zksmokes python scripts they are going to need access to the python native libraries as well as the zookeeper c client libraries. Notice there are two libraries here: $ ls lib.linux-i686-2.6/ initzookeeper is in ./src/contrib/zkpython/src/c/zookeeper.c from zookeeper - meaning it's the python library, not in the zk client library. (python lib uses the zk c client lib) Are you sure that both sets of libraries are available when you run the zk smoketest python script? A few things to check: did you recompile zkpython as well from zk contrib and make it accessible to the smoketest python scripts when executing? I haven't regenerated those files myself in quite some time. I just tried it using the following process and it worked OK.
|
Thanks for tip. I was not building Java code and because of that test-classes were not created in build/ folder. Also i didnt build contrib code earlier. Here are the steps i followed :- From zookeeper repo:- ant ant mvn-deploy ant complie_jute cd src/c/ find where ACLOCAL is installed ./configure sudo make install cd ../contrib ant cd zkpython this last step will create zookeeper.so and install zookeeper.so into python/dist-packages |
Hi,
I am trying to build libzookeeper_mt.so.2.0.0 and zookeeper.so for newer version of zookeeper.
I am following README . I have been able to create files from README procedure but when i use them , it gives error like below :-
ImportError: dynamic module does not define init function (initzookeeper)
Can you point to any link which can resolve issue or give some instruction for this?
The text was updated successfully, but these errors were encountered: