VirusTotal / yara-python

The Python interface for YARA
http://virustotal.github.io/yara/
Apache License 2.0
648 stars 179 forks source link

yara.so: undefined symbol: sk_free #118

Closed careyyoung closed 4 years ago

careyyoung commented 4 years ago

hi my env is: python2.7.16 miniconda install yara by yum, yum install yara, yara-3.10.0-3.el7.x86_64 install yara-python by pip, pip install yara-python3.10.0

but, when i run in python using: import yara, it raise exception: ImportError: /root/miniconda2/lib/python2.7/site-packages/yara.so: undefined symbol: sk_free

i donot know what lib version is wrong, can you help me?

thanks for you attention.

careyyoung commented 4 years ago

now i install yara_python-3.6.0, it is ok

careyyoung commented 4 years ago

env info: yara-3.10.0-3.el7.x86_64 yara-python3.10.0

when python2.7.15 with gcc>7.3.0, it will error: ImportError: /root/miniconda2/lib/python2.7/site-packages/yara.so: undefined symbol: sk_free

now my python2.7.15 with gcc=7.2, it is ok now.