|
YaraSupport
Yara-3.1 Support for Ragpicker
YARA Tested under Ubuntu 12.04 LTS http://yara.readthedocs.org/en/latest/gettingstarted.html#compiling-and-installing-yara Download: https://github.com/plusvic/yara/archive/v3.1.0.zip Install the Python development packagesudo apt-get install python-dev Compiling and installing YARAtar -xvf yara-3.1.0.tar.gz Install the yara-python extensioncd yara-python python setup.py build sudo python setup.py install Import ErrorYou get the following error: ImportError: Python-Yara is required to run this program: http://plusvic.github.io/yara/ test the following: >>> import yara >>> In some operating systems (e.g: Ubuntu) you can get an error message like this one: Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: libyara.so.3: cannot open shared object file: No such file or directory If you get the previous error you should add the path /usr/local/lib to the loader configuration file: $ sudo su $ echo "/usr/local/lib" >> /etc/ld.so.conf $ ldconfig |