Qihoo360 / qbusbridge

The Apache Kafka Client SDK
MIT License
292 stars 72 forks source link

ImportError #9

Open Leo225 opened 3 years ago

Leo225 commented 3 years ago

python producer.py /home/work/qbusbridge/config/kafka.ini mini_spider_struct_data groupid_test ip1:port1,ip2:port2,ip3:port3 Traceback (most recent call last): File "producer.py", line 1, in import qbus File "/home/work/qbusbridge/python/examples/qbus.py", line 26, in _qbus = swig_import_helper() File "/home/work/qbusbridge/python/examples/qbus.py", line 22, in swig_import_helper _mod = imp.load_module('_qbus', fp, pathname, description) ImportError: /home/work/qbusbridge/python/examples/_qbus.so: undefined symbol: _ZTVN6snappy22UncheckedByteArraySinkE

BewareMyPower commented 3 years ago

It looks like you're using an outdated snappy. Tips, the default snappy on CentOS 7 is too old. You should install a newer snappy as the dependency.