as, the system's libraries get to be over-ran by the Hypertable Libs
Instead of :
HYPERTABLE_HOME=/opt/hypertable/current
PYTHONPATH=$HYPERTABLE_HOME/lib/py
PYTHONPATH=$PYTHONPATH:$HYPERTABLE_HOME/lib/py/hypertable
PYTHONPATH=$PYTHONPATH:$HYPERTABLE_HOME/lib/py/gen-py
export PYTHONPATH
$HYPERTABLE_HOME/bin/ht python
(the python modules start to read from the Hypertable shared-libs)
It should be:
sys.path.append("/opt/hypertable/current/lib/py/hypertable")
sys.path.append("/opt/hypertable/current/lib/py/gen-py")
sys.path.append("/opt/hypertable/current/lib/py")
sys.path.append("/opt/hypertable/current/lib")
reload(sys)
from ctypes import *
libHyperPython = CDLL('/opt/hypertable/current/lib/libstdc++.so.6')
libHyperPython = CDLL('/opt/hypertable/current/lib/libthrift-0.9.3.so')
libHyperPython = CDLL('/opt/hypertable/current/lib/libthriftnb-0.9.3.so')
libHyperPython = CDLL("/opt/hypertable/current/lib/py/hypertable/libHyperPython.so")
import libHyperPython
While, there is an error of the Thrift libs:
File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /opt/hypertable/current/lib/
libthriftnb-0.9.3.so: undefined symbol:
_ZTIN6apache6thrift5async13TAsyncChannelE
Can that be just of a compiler release?
Thanks,
Kashirin Alex