Details
Description
[chisheng@cen-2507 ~]$ /opt/couchbase/bin/tools/cbworkloadgen -h
Traceback (most recent call last):
File "/opt/couchbase/lib/python/cbworkloadgen", line 8, in <module>
import pump_transfer
File "/opt/couchbase/lib/python/pump_transfer.py", line 13, in <module>
import pump_cb
File "/opt/couchbase/lib/python/pump_cb.py", line 8, in <module>
import pump_mc
File "/opt/couchbase/lib/python/pump_mc.py", line 3, in <module>
import ctypes
File "/opt/couchbase/lib/python/ctypes/_init_.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: /opt/couchbase/lib/python/_ctypes.so: undefined symbol: Py_InitModule4
[chisheng@cen-2507 ~]$ ll /usr/bin/python*
-rwxr-xr-x 2 root root 8304 Feb 22 2012 /usr/bin/python
lrwxrwxrwx 1 root root 6 May 24 11:02 /usr/bin/python2 -> python
-rwxr-xr-x 2 root root 8304 Feb 22 2012 /usr/bin/python2.4
-rwxr-xr-x 2 root root 8328 Apr 12 2012 /usr/bin/python26
-rwxr-xr-x 2 root root 8328 Apr 12 2012 /usr/bin/python2.6
Attachments
For Gerrit Dashboard: MB-6928 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21695,3 | MB-6928: import ctypes with fallback | master | membase-cli | Status: MERGED | +2 | +1 |
21750,3 | MB-6928: import ctypes with fallback | master | couchstore | Status: MERGED | +2 | +1 |