VirusTotal / yara-python

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

i can not find yara.compile() #169

Open lizhixiang0 opened 3 years ago

lizhixiang0 commented 3 years ago

hi , i used “python setup.py build --dynamic-linking ” to install yara-python and i have installed yara before . but i can not find yara. compile() image

Alessandro-Barbieri commented 3 years ago

that's because the library isn't linked

ldd /var/tmp/portage/dev-python/yara-python-4.1.0/work/yara-python-4.1.0/yara.pypy37-pp73-x86_64-linux-gnu.so
        linux-vdso.so.1 (0x00007ffcffb76000)
        libc.so.6 => /lib64/libc.so.6 (0x000078aabf789000)
        /lib64/ld-linux-x86-64.so.2 (0x000078aabf8da000)