![]() So, the primary question is: how to make ZooKeeper python bindings to work with 32-bit Python in 64-bit Mac OS X Lion (10.7)? Libzookeeper_mt.2.dylib: Mach-O 64-bit dynamically linked shared library x86_64Īnd the worst point here is that is has no i386 arch built in, so I cannot extract this i386 version with "lipo". But whatever I tried, I cannot build it in 32bit mode: libzookeeper_mt.2.dylib is always 64-bit (I tried ARCH_FLAGS="-arch i386", configure -build=i386 -host=i386, arch -i386 …, etc - the. So, I tried to make zookeeper client itself to be 32bit. /.//src/c/.libs//libzookeeper_mt.dylib, file was built for unsupported file format which is not the architecture being linked (i386) And I guess it wants 32-bit zookeeper client here, since when compiling zkpython it says only one single meaningful warning: In /Users/nolar/Downloads/zoo/zookeeper.so Referenced from: /Users/nolar/Downloads/zoo/zookeeper.so ![]() ImportError: dlopen(./zookeeper.so, 2): Symbol not found: _ZOO_ASSOCIATING_STATE ![]() I tried to make zkpython to be 32bit, whilst keeping the client itself 64-bit as it is by default. Actually, ZooKeeper Python bindings (zkpython). Everything was fine so far, till I got zookeeper. I ought to use 32-bit Python in 32-bit mode (due to oracle instantclient-10.2.0.4, which segfaults in 64bit in Mac OS X, but works in 32bit). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |